Wandmalfarbe/pandoc-latex-template

pandoc fails to use eisvogel template

wjfeeney opened this issue · 2 comments

macOS 13.4.1(c)

I use the command pandoc -t pdf FILENAME.md --pdf-engine=xelatex --reference-doc=/Users/williamfeeney/.local/share/pandoc/templates/eisvogel.latex -o FILENAME.pdf

The output file looks like it was formatted with pandoc's default.latex template, not with the eisvogel template., dated 4/17/2023. I've used other templates in my templates file to test the output, but all look like the default output. Am I doing something wrong in my command?

cagix commented

You might want to use the option --template=/Users/williamfeeney/.local/share/pandoc/templates/eisvogel.latex.

The option --reference-doc is supposed to be used for the docx-format (cf. https://pandoc.org/MANUAL.html#options-affecting-specific-writers).

@cagix Thank you! That is the solution.