diff options
| author | Albert Krewinkel <[email protected]> | 2022-02-01 22:33:15 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-02-01 14:43:38 -0800 |
| commit | 2fa8308afa1032b490018975d7138f0731369c3f (patch) | |
| tree | d45fc954e44fd1405f2ff3db75547eea093c0e1e | |
| parent | 64a21caa6c802eabaabecc181087dc7c42580946 (diff) | |
Restore wkhtmltopdf as default pdf engine for HTML
| -rw-r--r-- | src/Text/Pandoc/App/CommandLineOptions.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs index dbf1ca706..19b807205 100644 --- a/src/Text/Pandoc/App/CommandLineOptions.hs +++ b/src/Text/Pandoc/App/CommandLineOptions.hs @@ -105,11 +105,15 @@ parseOptionsFromArgs options' defaults prg rawArgs = do not (null (optIncludeBeforeBody opts)) || not (null (optIncludeAfterBody opts)) } +-- | Supported LaTeX engines; the first item is used as default engine +-- when going through LaTeX. latexEngines :: [String] latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk", "tectonic"] +-- | Supported HTML PDF engines; the first item is used as default +-- engine when going through HTML. htmlEngines :: [String] -htmlEngines = ["pagedjs-cli", "wkhtmltopdf", "weasyprint", "prince"] +htmlEngines = ["wkhtmltopdf", "weasyprint", "pagedjs-cli", "prince"] engines :: [(Text, String)] engines = map ("html",) htmlEngines ++ |
