ネストされたリストをマークダウンまたは HTML から PDF に変換できませんでした

ネストされたリストをマークダウンまたは HTML から PDF に変換できませんでした

システムにインストールされているフォントを使用しようとしているため、latex-engine を に設定してを使用するmarkdownように変換しようとしています。を に切り替えようとしましたが、問題は解決しません。pdfpandocxelatexpdf-enginepdflatex

このマークダウンのスニペットを貼り付けてPandoc オンラインで試すデモ:

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

レンダリングされたラテックス:

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

\begin{verbatim}代わりに、\begin{itemize}これがエラーの原因であると思われます 。

次のコマンドを使用しました:

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

このコマンドを使用してhtmlを に変換してみましたpdf

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

htmlただし、ネストされたリストが正しくレンダリングされると、出力では次のように表示されることがわかりましたpdf

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

答え1

各レベルごとに正確に 4 つのスペースをインデントする必要があります。

入力:

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

出力:

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

関連情報