Hello, Michael Niedermair reported two bugs in the mailing list TEX-D-L. He used lualatex, but I could reduce it to luatex -ini -draftmode Used version: This is LuaTeX, Version beta-0.65.0-2010121316 (INITEX) 1. draftmode creates output file with zero bytes: \catcode`\{=1 \catcode`\}=2 \directlua{tex.enableprimitives('',{'pdfoutput'})} \pdfoutput=1 \shipout\hbox{} \csname @@end\endcsname\end Result: LuaTeX warning: \pdfdraftmode enabled, not changing output pdf Transcript written on test.log. But test.pdf is created with zero bytes. (It does not matter if a previous test.pdf exists, it will be overwritten.) 2. Image inclusion fails in draft mode: \catcode`\{=1 \catcode`\}=2 \directlua{tex.enableprimitives('',% {'pdfoutput','pdfximage','pdfrefximage','pdflastximage'})% } \pdfoutput=1 \pdfximage{s1.png}\pdfrefximage\pdflastximage \csname @@end\endcsname\end ! LuaTeX error (setup): \pdfdraftmode cannot be changed after data is written to the PDF file. Yours sincerely Heiko Oberdiek
Hi Heiko, On 12/25/2010 08:07 PM, Heiko Oberdiek wrote:
Hello,
Michael Niedermair reported two bugs in the mailing list TEX-D-L. He used lualatex, but I could reduce it to luatex -ini -draftmode
Ok and thanks for the simplification.
Used version: This is LuaTeX, Version beta-0.65.0-2010121316 (INITEX)
1. draftmode creates output file with zero bytes:
http://tracker.luatex.org/view.php?id=540
2. Image inclusion fails in draft mode:
http://tracker.luatex.org/view.php?id=541 Best wishes, Taco
participants (2)
-
Heiko Oberdiek
-
Taco Hoekwater