ransford/pdflatex-makefile

XeLaTeX support

Closed this issue · 3 comments

ido commented

To add XeLaTeX support, make -draftmode optional.
Optionally, for cosmetic reasons, you may want to separate out the PDFLATEX variable into PDFLATEX (path to the pdflatex/xelatex binary) and PDFLATEX_OPTS (default options such as -halt-on-error etc.).

Thank you for writing this Makefile. Detecting "Rerun to" was a very nice touch instead of blindly rerunning. 👍

Hmm, I'm not sure what you mean by XeLaTeX support. This is what happens on my system (XeTeX 3.14159265-2.6-0.99991):

$ cd example
$ make PDFLATEX=xelatex >& /dev/null
$ ls example.pdf
example.pdf

Do you see build errors or some other problem?

ido commented

The -draftmode iteration of xelatex in that example is failing, but not being caught because when you set PDFLATEX in your example you remove the halt on error, etc. parameters. Try just changing pdflatex to xelatex in Makefile.include and see how it errors out because draftmode is not recognized?

On Apr 19, 2016, at 14:15, Ben Ransford notifications@github.com wrote:

Hmm, I'm not sure what you mean by XeLaTeX support. This is what happens on my system (XeTeX 3.14159265-2.6-0.99991):

$ cd example
$ make PDFLATEX=xelatex >& /dev/null
$ ls example.pdf
example.pdf
Do you see build errors or some other problem?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Closing for lack of movement; patches welcome.