Pregunta

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
¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top