[luatex] immediateobj() not allowed in DVI mode
Patrick Gundlach
patrick at gundla.ch
Sun Nov 22 20:23:51 CET 2015
LuaTeX 085
Hi Luigi,
is tex.pdfoutput=1 still switching to PDF mode?
My code:
print("A")
tex.pdfoutput=1
GS_State_OP_On = pdf.immediateobj([[<< /Type/ExtGState /OP true /OPM 1 >>]])
print("B")
gives the error:
------------------------
A
! error (pdf backend): immediateobj() not allowed in DVI mode (outputmode = 0).
l.4 \directlua{require("publisher.spinit")}
No pages of output.
------------------------
although tex.pdfoutput should switch to PDF, right?
Patrick
More information about the luatex
mailing list