Verschachtelte Liste konnte nicht von Markdown oder HTML in PDF konvertiert werden

Verschachtelte Liste konnte nicht von Markdown oder HTML in PDF konvertiert werden

markdownIch versuche, auf pdfdie Verwendung pandocmit der eingestellten Latex-Engine umzustellen xelatex, da ich versuche, auf meinem System installierte Schriftarten zu verwenden. Ich habe versucht, auf umzustellen, pdf-engineaber pdflatexdas Problem besteht weiterhin.

Ich habe diesen Markdown-Ausschnitt in diePandoc Online ausprobierenDemo:

###Lipsum
  + **Lipsum Generator (Sept 2013-Present)**

   **[google](https://www.google.com/)**

   Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged

    * Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.

    * Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance

Das gerenderte Latex:

\subsubsection{Lipsum}\label{lipsum}

\begin{itemize}
\tightlist
\item
  \textbf{Lipsum Generator (Sept 2013-Present)}
\end{itemize}

\textbf{\href{https://www.google.com/}{google}}

Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text ever
since the 1500s, when an unknown printer took a galley of type and
scrambled it to make a type specimen book. It has survived not only five
centuries, but also the leap into electronic typesetting, remaining
essentially unchanged

\begin{verbatim}
* Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.

* Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance
\end{verbatim}

Mir ist aufgefallen, dass das, was meiner Meinung nach den Fehler verursacht, \begin{verbatim}nicht der Fall ist.\begin{itemize}

Ich habe diesen Befehl verwendet:

pandoc resume.md --standalone --latex-engine=xelatex -f markdown --atx-headers -t latex -o resume_pandoc.pdf -V mainfont=Ubuntu -V sansfont=Lato -V fontsize=11pt -V title="Vamsi Deepak Ampolu" -V papersize=letter

Ich habe auch versucht, die htmlmit pdfdiesem Befehl in zu konvertieren

pandoc resume.html --standalone --latex-engine=xelatex -V mainfont=Ubuntu -V sansfont=Lato -V papersize=letter title="Vamsi Deepak Ampolu"

Ich habe jedoch festgestellt, dass verschachtelte Listen, die korrekt gerendert werden, in der Ausgabe htmlwie folgt gerendert werden :pdf

+ built a layer of dynamic, reusable UI templates using Handlebars based on Twitter Bootstrap

Antwort1

Sie müssen für jede Ebene genau vier (4) Leerzeichen einrücken.

Eingang:

### Lipsum
+ **Lipsum Generator (Sept 2013-Present)**

    **[google](https://www.google.com/)**

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged

    * Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.

    * Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance

Ausgabe:

\subsubsection{Lipsum}\label{lipsum}

\begin{itemize}
\item
  \textbf{Lipsum Generator (Sept 2013-Present)}

  \textbf{\href{https://www.google.com/}{google}}

  Lorem Ipsum is simply dummy text of the printing and typesetting
  industry. Lorem Ipsum has been the industry's standard dummy text ever
  since the 1500s, when an unknown printer took a galley of type and
  scrambled it to make a type specimen book. It has survived not only
  five centuries, but also the leap into electronic typesetting,
  remaining essentially unchanged

  \begin{itemize}
  \item
    Contrary to popular belief, Lorem Ipsum is not simply random text.
    It has roots in a piece of classical Latin literature from 45 BC,
    making it over 2000 years old.
  \item
    Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of ``de Finibus
    Bonorum et Malorum'' (The Extremes of Good and Evil) by Cicero,
    written in 45 BC. This book is a treatise on the theory of ethics,
    very popular during the Renaissance
  \end{itemize}
\end{itemize}

verwandte Informationen