TransWikia.com

LuaLaTeX: How to speed up PDF generation?

TeX - LaTeX Asked on June 9, 2021

With pdflatex, I used to write pdfcompresslevel 0 and pdfobjcompresslevel 0 before the documentclass command. This would disable the PDF compression which in turn speeds up the generation of the PDF file.

However, these commands do not seem to work with LuaLaTeX. Is there a way to speed up the generation of the PDF file, e.g., by also disabling compression?

2 Answers

After edefpdfcompresslevel{pdfvariable compresslevel} edefpdfobjcompresslevel{pdfvariable objcompresslevel} you have the mentioned commands as in pdfTeX.

However, the speed problem is in LaTeX itself, no in compression PDF. I am using OpTeX with LuaTeX and I don't have problems with speed.

Answered by wipet on June 9, 2021

I use

RequirePackage{l3pdf}
ExplSyntaxOn
pdf_uncompress:
ExplSyntaxOff
documentclass{article}
 ....

to get uncompressed pdf. That works for all engines.

Answered by Ulrike Fischer on June 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP