serhii.net

In the middle of the desert you can say anything you want

21 Dec 2022

pandoc standalone option

When using pandoc to convert (in my case) markdown to latex, it generates only the “text” but without the header, \usepackages etc., and it fails when using pdflatex.

To generate a standalone file there’s the -s/--standalone option:

pandoc -f markdown -t latex -o bench.tex -s 2022-11-20-221120-1419-benchmark-tasks-for-evaluation-of-language-models.md 
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus