aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/CommandLineOptions.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-27 23:38:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-27 23:55:17 -0800
commit11aa5fd2880a32f56ca29e64c5121ac5702e4dea (patch)
treef89cb5b3dae0d7ace7def9e34e20ea23c9e91b77 /src/Text/Pandoc/App/CommandLineOptions.hs
parentf152d4d53b7a296912ede5e219ff6032449f0c79 (diff)
downloadpandoc-11aa5fd2880a32f56ca29e64c5121ac5702e4dea.tar.gz
Add latexmk as an option for --pdf-engine.
Closes #3195. Note that you can use --pdf-engine-opt=-outdir=bar to specify a persistent temp dir.
Diffstat (limited to 'src/Text/Pandoc/App/CommandLineOptions.hs')
-rw-r--r--src/Text/Pandoc/App/CommandLineOptions.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/App/CommandLineOptions.hs b/src/Text/Pandoc/App/CommandLineOptions.hs
index c6b7de294..6ae167ebf 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -104,7 +104,7 @@ parseOptions options' defaults = do
return (opts{ optInputFiles = map normalizePath args })
latexEngines :: [String]
-latexEngines = ["pdflatex", "lualatex", "xelatex"]
+latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk"]
htmlEngines :: [String]
htmlEngines = ["wkhtmltopdf", "weasyprint", "prince"]