A lista aninhada falhou ao converter de markdown ou html para pdf

A lista aninhada falhou ao converter de markdown ou html para pdf

Estou tentando converter markdownpara pdfusar pandoccom o mecanismo de látex definido xelatexporque estou tentando usar fontes instaladas em meu sistema. Tentei mudar para pdf-enginemas pdflatexo problema persiste.

Colei este trecho de markdown noPandoc Experimente Onlinedemonstração:

###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

O látex renderizado:

\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}

Percebi que, \begin{verbatim}em vez \begin{itemize}disso, presumo que esteja causando o erro.

Eu usei este comando:

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

Eu também tentei converter htmlpara pdfusando este comando

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

No entanto, descobri que listas aninhadas que são renderizadas corretamente são htmlrenderizadas assim na pdfsaída:

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

Responder1

Você deve recuar exatamente quatro (4) espaços para cada nível.

Entrada:

### 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

Saída:

\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}

informação relacionada