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




Reply via email to