[luatex] LuaTeX precompilation
blumens at fi.muni.cz
blumens at fi.muni.cz
Wed Dec 20 22:07:28 CET 2023
Hans Hagen wrote:
> > For instance, I get the numbers
> >
> > 8 s for pdflatex
> > 12 s for lualatex with the same TFM fonts
> > 18 s for lualatex using luaotfload and fontspec instead
> >
> > This was for a math heavy document of about 600 pages using large OTF fonts
> Do you need otf fonts? Maybe t1 will do the job as well.
Yes. For PFB fonts, there is no point in using luatex, except that it
saves you the hassle of generating TFM files.
> > This performance difference is very noticeable. 8 s compile times are
> > fine, but having to wait 18 s interrupts my workflow.
>
> In that case: run chapters when you work on them and not whole books ...
That's not really practical. I often have to look up definitions and
theorems in other chapters. I am really glad that, with modern hardware,
this kind of workaround is no longer needed.
What I'll probably do is to continue to use pdftex until the book is
done, and then generate the final version with luatex and better fonts.
Anyway, the point of my email was not to ask for help, but just to raise
awareness for the fact that luatex's performance (and/or fontspec's,
which I suspect is also really slow) is considered by some to be an
issue.
Achim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://tug.org/pipermail/luatex/attachments/20231220/c1d1bef7/attachment.sig>
More information about the luatex
mailing list.