Fix pdf output via typst for the typst 0.1.0 release.

One must now use `typst compile` rather than `typst`.

Closes #8754.
This commit is contained in:
John MacFarlane
2023-04-05 12:23:42 -07:00
parent 2b420a1f89
commit cf9f4833cc
+2 -1
View File
@@ -95,7 +95,8 @@ makePDF program pdfargs writer opts doc =
"typst" -> do
source <- writer opts doc
verbosity <- getVerbosity
liftIO $ toPdfViaTempFile verbosity program pdfargs (:[]) source
liftIO $
toPdfViaTempFile verbosity program ("compile":pdfargs) (:[]) source
"pdfroff" -> do
source <- writer opts doc
let paperargs =