Open oli-obk opened 8 years ago
currently to enable e.g. xetex one needs to call
pandoc.add_option(pandoc::PandocOption::LatexEngine("xelatex".into()));
adding strings is not pretty. To still allow arbitrary engines the enum can have a Custom variant.
Custom
Pandoc's docs have pdflatex|lualatex|xelatex as the choices. so:
pdflatex|lualatex|xelatex
enum LatexEngine { PdfLatex, LuaLatex, XeLatex, Custom(PathBuf), }
or maybe leave off the Latex postfix
Latex
Note: it's PdfEngine now
PdfEngine
currently to enable e.g. xetex one needs to call
adding strings is not pretty. To still allow arbitrary engines the enum can have a
Custom
variant.Pandoc's docs have
pdflatex|lualatex|xelatex
as the choices. so:or maybe leave off the
Latex
postfix