View Issue Details

IDProjectCategoryView StatusLast Update
0000366luatexluatex limitationpublic2010-04-03 18:01
Reporterpatrick Assigned ToTaco  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionno change required 
Fixed in Version0.60.0 
Summary0000366: tex.pdfoutput=1 creates dvi
DescriptionThe following file creates dvi instead of (expected) pdf:

luatex --ini myfile.tex
------------------------------------------------------
\catcode`\{=1
\catcode`\}=2
\directlua {
tex.pdfoutput=1
tex.enableprimitives('',tex.extraprimitives ())
}

\topskip=0pt
\pdfpageheight=29.7cm
\pdfpagewidth=21cm
\hsize 6.7cm

Hello world

\par\vfill\par\penalty-20000\end
------------------------------------------------------
As tex.pdfoutput is advertised as "read write" (doc 4.12.1.1 Integer parameters) I assumed that this also means that assinging a number > 0 to tex.pdfoutput (at the beginning of the document) creates pdf.

This is no problem for me as I can say \pdfoutput=1, but I just want to make myself important and create a bug report.
TagsNo tags attached.

Relationships

related to 0000367 closedHans Hagen reconsider test for valid primitive / reminder for taco and me 

Activities

Taco

2010-04-01 16:59

administrator   ~0000516

Reverse the order of the two lines in \directlua. At the time of your
tex.pdfoutput=1, the command doesn't actually exist yet.

PS you are important even without bug reports, but they sure help :)

Hans Hagen

2010-04-01 17:01

manager   ~0000517

the backend specific tex.pdf* assignments will be removed from the tex namespace and there will be something tex.backend = "pdf" (or in another namespace)

Issue History

Date Modified Username Field Change
2010-04-01 15:50 patrick New Issue
2010-04-01 16:59 Taco Note Added: 0000516
2010-04-01 16:59 Taco Status new => resolved
2010-04-01 16:59 Taco Resolution open => no change required
2010-04-01 16:59 Taco Assigned To => Taco
2010-04-01 17:01 Taco Relationship added related to 0000367
2010-04-01 17:01 Hans Hagen Note Added: 0000517
2010-04-03 18:00 Taco Fixed in Version => 0.60.0
2010-04-03 18:01 Taco Status resolved => closed