문제

When converting markdown to pdf with pandoc (version 1.12.1) the ToC option adds an english header: "Contents".

Since my document is in Dutch, I would like to be able to put the Dutch equivalent of contents there. But unfortunately I couldn't find any configuration options for this, neither did I found clues in the default.latex file.

My query:

pandoc -S --toc essay.md --biblio "MCM Essay.bib" --csl apa.csl -o mcm.pdf
  • I'm using windows
  • I use MIKTex, like in the pandoc instructions
도움이 되었습니까?

해결책

The string "Contents" is not supplied by pandoc, but by latex (which pandoc calls to create the PDF).

Try adding

-Vlang=dutch

to your command line. This will be passed to latex in the documentclass options, and LaTeX will provide the right string.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top