-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XeLaTeX support #291
XeLaTeX support #291
Conversation
Relating to KristofferC#290.
LGTM, apologies for the delayed review. Please also update the Choosing the LaTeX engine used part of |
Also, apologies for the delayed reaction. Didn't see the review last week. |
|
||
""" | ||
The active LaTeX engine. Initialized the first time [`latexengine`](@ref) is called. | ||
""" | ||
const ACTIVE_LATEX_ENGINE = Ref{Union{Nothing, LaTeXEngine}}(nothing) | ||
function latexengine() | ||
if ACTIVE_LATEX_ENGINE[] === nothing | ||
for (engine, enum) in zip(("lualatex", "pdflatex"), (LUALATEX, PDFLATEX)) | ||
for (engine, enum) in zip(("lualatex", "pdflatex", "xelatex"), (LUALATEX, PDFLATEX, XELATEX)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to pick xelatex
over pdflatex
if we find it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know much about XeLaTeX, so I would stick with the ordering above and leave it to the user to request something else.
Co-authored-by: Kristoffer Carlsson <[email protected]>
Related to #290.