jgm/typst-hs

No `\begin{document}` or preamble when exporting to `.tex` file

Closed this issue · 1 comments

Any conversion

pandoc file.typ -o file.tex

results in documents that do not include any preamble, or \begin{document}

Reproduction : https://github.com/Doublonmousse/pandoc-typst-reproducer/tree/main/no_template

jgm commented

You need to add the -s/--standalone option.