aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/App/CommandLineOptions.hs
diff options
context:
space:
mode:
authorCormac Relf <web@cormacrelf.net>2019-03-08 04:16:40 +1100
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-07 10:16:40 -0700
commitd638873433860169daa29df816b9d156dca03d42 (patch)
tree208593e4d85f0e6bffe4da41a054296c4db869f9 /src/Text/Pandoc/App/CommandLineOptions.hs
parent449910bf407521e04222ee9c64da7c8a253af1dd (diff)
downloadpandoc-d638873433860169daa29df816b9d156dca03d42.tar.gz
Add tectonic as an option for --pdf-engine. (#5346)
Closes #5345 Runs tectonic on STDIN instead of a temporary .tex file, so that it looks in the working directory for `\include` and `\input` like the rest of the engines. Allows overriding the output directory without messing up the args with `--pdf-engine-opt=--outdir --pdf-engine-opt="$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 36c68057c..4253620f7 100644
--- a/src/Text/Pandoc/App/CommandLineOptions.hs
+++ b/src/Text/Pandoc/App/CommandLineOptions.hs
@@ -85,7 +85,7 @@ parseOptions options' defaults = do
return (opts{ optInputFiles = map normalizePath args })
latexEngines :: [String]
-latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk"]
+latexEngines = ["pdflatex", "lualatex", "xelatex", "latexmk", "tectonic"]
htmlEngines :: [String]
htmlEngines = ["wkhtmltopdf", "weasyprint", "prince"]