diff options
| author | John MacFarlane <[email protected]> | 2023-04-05 12:23:42 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-04-05 12:23:42 -0700 |
| commit | cf9f4833cc049963d8025ef218bdcb010e949cda (patch) | |
| tree | 9d0b6941f21289840c8cb0d9a94caac9afbd8354 /src | |
| parent | 2b420a1f897c6243b1eb7ac0ea834303b8510b90 (diff) | |
Fix pdf output via typst for the typst 0.1.0 release.
One must now use `typst compile` rather than `typst`.
Closes #8754.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/PDF.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs index 476b74d76..e7b63f6ad 100644 --- a/src/Text/Pandoc/PDF.hs +++ b/src/Text/Pandoc/PDF.hs @@ -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 = |
