[luatex] Problem when including pdf with graphicx package and draftmode

Jacques Peron abbe.jacques.peron at gmail.com
Tue Aug 23 13:58:13 CEST 2016


Hello Norbert,

I've got the same version (`Version 0.95.0 (TeX Live 2016/Debian)` ; my
`texlive-luatex` package is on version 2016.20160819-2). The problem only
appears with the `-draftmode` option : without it, as you say, that works.

Thank you,

Fr Jacques Peron.

2016-08-22 18:49 GMT+02:00 Jacques Peron <cataclop at hotmail.com>:

> Hello,
>
> Using lualatex from Debian sid texlive packages, I get a weird error when
> including a pdf with graphicx :
>
> $ lualatex -draftmode test.tex
>
>>
> ! error:  (pdf backend): draftmode cannot be changed after data is written to t
> he PDF file
> !  ==> Fatal error occurred, no output PDF file produced!
>
> With pdflatex, here is what I get instead :
>
> $ pdflatex -draftmode test.tex
>
>>
> <ND.pdf, id=1, 150.5625pt x 167.62625pt> <use ND.pdf> [1] (./test.aux) )
> pdfTeX warning: \pdfdraftmode enabled, not changing output pdf
> Transcript written on test.log.
>
> You’ll find files joined. I think it must be a bug within lualatex ;
> please tell me if I make a mistake !
>
> Fr Jacques Peron.
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20160823/f946b1a7/attachment.html>


More information about the luatex mailing list