[Dev-luatex] \n bug in beta 0.67?

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sun Apr 24 12:55:58 CEST 2011


On Sun, Apr 24, 2011 at 08:50:15AM +0200, Taco Hoekwater wrote:

> On 04/24/2011 08:07 AM, Heiko Oberdiek wrote:
> >On Sun, Apr 24, 2011 at 01:47:59AM +0200, Martin Schröder wrote:
> >
> >>2011/4/24 Graham Douglas<graham.douglas at readytext.co.uk>:
> >>>Running under 0.67 with \pdfcompresslevel =0 gives the following PDF
> >>>content around a 45 0 obj which looks like a newline is missing
> >>>
> >>>....
> >>>45 0 obj
> >>>306endobj<------ looks wrong
> >>
> >>I can't reproduce this. What's your input and your exact version?
> >
> >I can "reproduce" the opposite, a extra new lines:
> >checkout from trunk: beta-0.67.0-2011042407 (rev 4192)
> >System: i386-linux
> 
> Hartmut is working on the backend in truynk, for 0.71 and up. If you
> need a more stable version from the repository, use branches/0.70.x

The luatex beta-0.67.0-2011042412 (rev 4171) from branch 0.70.x
works correct, if used for the example I had given:
  \catcode`\{=1
  \catcode`\}=2
  \directlua{tex.enableprimitives('',
    {'pdfobj','pdfobjcompresslevel','pdfcompresslevel','pdfoutput'})}
  \pdfoutput=1
  \pdfobjcompresslevel=0
  \pdfcompresslevel=0
  \immediate\pdfobj{306}
  \shipout\hbox{}
  \csname @@end\endcsname\end

Happy Easter
  Heiko Oberdiek


More information about the dev-luatex mailing list