diff options
| -rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 3 | ||||
| -rw-r--r-- | src/Text/Pandoc/PDF.hs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index b8a4e2fc9..7f5515ef8 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -205,7 +205,8 @@ handleOptInfo engine info = E.handle (handleError . Left) $ do -- | Supported LaTeX engines; the first item is used as default engine -- when going through LaTeX. latexEngines :: [String] -latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk", "tectonic"] +latexEngines = [ "pdflatex", "lualatex", "xelatex", "latexmk", "tectonic" + , "pdflatex-dev", "lualatex-dev" ] -- | Supported HTML PDF engines; the first item is used as default -- engine when going through HTML. diff --git a/src/Text/Pandoc/PDF.hs b/src/Text/Pandoc/PDF.hs index 715be0e84..ef37b8cab 100644 --- a/src/Text/Pandoc/PDF.hs +++ b/src/Text/Pandoc/PDF.hs @@ -133,7 +133,9 @@ makePDF program pdfargs writer opts doc = withTempDir (program == "typst") "medi "tectonic" -> tectonic2pdf program pdfargs tmpdir source "latexmk" -> tex2pdf program pdfargs tmpdir source "lualatex" -> tex2pdf program pdfargs tmpdir source + "lualatex-dev" -> tex2pdf program pdfargs tmpdir source "pdflatex" -> tex2pdf program pdfargs tmpdir source + "pdflatex-dev" -> tex2pdf program pdfargs tmpdir source "xelatex" -> tex2pdf program pdfargs tmpdir source _ -> return $ Left $ UTF8.fromStringLazy $ "Unknown program " ++ program |
