If I embed a stream object into a PDF but then no page is output
then luatex gives a fatal error while pdftex gives only a warning
about the dangling object:
\ifcsname directlua\endcsname
\immediate\pdfextension obj stream attr {} {blub}
\else
\immediate\pdfobj stream attr {} {blub}
\fi
\bye
luatex:
This is LuaTeX, Version 1.22.0 (TeX Live 2025)
restricted system commands enabled.
(./test-utf8.tex)
warning (pdf backend): no pages of output.
! error: (pdf backend): already written content discarded, no
output file produced.
! ==> Fatal error occurred, no output PDF file produced!
pdftex:
No pages of output.
pdfTeX warning: pdftex.exe: dangling objects discarded, no output
file produced.
Is there a reason for the difference and the fatal error here?
--
Ulrike Fischer
http://www.troubleshooting-tex.de/
_______________________________________________
dev-luatex mailing list -- [email protected]
To unsubscribe send an email to [email protected]