We are currently planning to migrate to a different platform for the forum. We will announce this fact both here and on Twitter, once we have settled on a solution.

Specifying latex template for PDF

edited October 16 in General

Hi

Just found Zettlr. Very cool.

Is there a way to specify the template to use for pdf output on a per document basis?

I have different templates stored in the default folder for Pandoc ~.pandoc\templates and specify them usually on the command line when creating the output pdf document

$ pandoc --pdf-engine=xelatex --template=report.latex thisreport.md -o thatreport.pdf
$ pandoc --pdf-engine=xelatex --template=proposal.latex thisproposal.md -o thatproposal.pdf

It'd be great if I could just hit share and it use the correct template depending on the document.

Tagged:

Comments

Sign In or Register to comment.