-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Org reader: specification of latex compiler does not work #5480
Comments
Use This setting is controlled by writer options, not by document metadata. So there's no way for the org reader to affect it, currently. |
If #4627 were implemented, then we could do this. |
I am curious why you choose pdflatex as the default engine. It does not support unicode charecters and produces larger files compared to xelatex. |
@atbest Remember that pandoc is a 13 year old project. When we started, it wasn't a given that people would have xelatex installed, and xelatex didn't work as well as it did now. The decision could be rethought. I think there are two issues to consider:
Another sensible option would be to default to xelatex if the latex intermediary contains non-ascii characters. |
However, I think it would be better to raise this issue on the pandoc-discuss mailing list. This is not the best place to discuss it. |
OK, even if this option does not affect the writer settings, it should be omitted in the pdf file in consistence with Emacs. However, Pandoc converts |
I guess it's better to print unrecognoized options to |
@tarleb do you agree that the unrecognized options should be omitted, perhaps along with a warning? |
Wholeheartedly agree, the current behavior is not good. I'll look into it. |
I'll re-open this issue then to keep track. |
Unknown options are now ignored with a warning (00ef038) |
In the LaTeX specific export settings, there is an option (
LATEX_COMPILER
) to specify the latex compiler,pdflatex
,xelatex
orlualatex
. However, this option is ignored and Pandoc always usespdflatex
as default engine. This is annoying if non-ASCII characters or special characters exist in the org files. For example,\Delta
is parsed toΔ
symbol and the document has to be converted to pdf usingxelatex
becausepdflatex
cannot process non-ASCII characters directly. It will be great if Pandoc can recognizeLATEX_COMPILER
or provide a mechanism to setxelatex
as defaultpdf-engine
for Windows users.The text was updated successfully, but these errors were encountered: