shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
185 stars 30 forks source link

Support for lualatex #156

Closed shiblon closed 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 143

The attached patch brings support for lualatex as an alternative build strategy.

Reported by girard.nicolas on 2011-11-05 22:43:41


shiblon commented 8 years ago
So, this is interesting.  It *appears* (please correct me if I'm wrong), that you could
do this much more simply by letting PDFLATEX = lualatex.  Is that true?

Reported by shiblon on 2011-11-10 22:54:58

shiblon commented 8 years ago
Thats what I tried for a project of mine, I just changed PDFLATEX from pdflatex to lualatex
and it works out of the box so far.

BUT changing a line in config to change the build strategy seems more logical than
changing the name of an executable to something  that is just not really that executable.

Reported by TimMelzer on 2012-06-07 09:00:12

shiblon commented 8 years ago
That would be against the typical use of BUILD_STRATEGY.  If lualatex is really the
same as pdflatex, except for additional scripting capabilities, then nothing really
changes in the way that it's built.

The right way to do this is definitely to set PDFLATEX := lualatex in your own config,
named Variables.ini

Reported by shiblon on 2012-06-08 09:34:43

shiblon commented 8 years ago
The solution mentioned is fine. Unfortunately, it's only documented in the comments
of this issue. Would you mind adding a comment to the Makefile source?

Reported by sean.leather on 2012-07-15 19:32:27

shiblon commented 8 years ago
Sorry to be so slow to respond - yes, that sounds like a good plan.  I'll add a comment
about lualatex to the makefile (and its help section).

Reported by shiblon on 2012-08-02 09:12:58