[luatex] glue fill order

luigi scarso luigi.scarso at gmail.com
Wed Oct 9 12:48:06 CEST 2019


On Wed, Oct 9, 2019 at 12:27 PM David Carlisle <d.p.carlisle at gmail.com>
wrote:

> On Wed, 9 Oct 2019 at 10:27, luigi scarso <luigi.scarso at gmail.com> wrote:
> >
> >
> >
> > On Sat, Oct 5, 2019 at 10:42 PM David Carlisle <d.p.carlisle at gmail.com>
> wrote:
> >>
> >> Is there any chance that luatex could change here to be compatible
> >> with other systems?
> >>
> >
> > we are  discussing it, but there is not an easy solution.
>
> thanks, yes  I'm not sure my "-1" suggestion is an improvement
> actually, it was just a suggestion to
> think of a possible change.
>
> > As is now in luatex, \gluestretchorder is consistent (integer always
> greater than zero and ordered ),
> > something else  breaks consistency and backward compatibility (this is a
> quite old macro).
> >
>
> Yes my suggestion aligns 0,1,2,3 with pdftex so a test of
> \gluestretchorder=1 works the same way but
> tests of \gluestretchorder>0 to mean "stretchy" then break.  It may be
> that the best can be done is just document it in the manual.
> It's a bit weird but it's not the only place where luatex and pdftex
> differ (and as far as I can tell it's always been this way in luatex
> without
> anyone noticing or complaining before:-)
>

we are more on a new primitive \eTeXgluestretchorder

 \skip0=10pt plus 1 fi
     \skip2=10pt plus 1 fil
     \skip4=10pt plus 1 fill
     \skip6=10pt plus 1 filll

     \the\gluestretchorder\skip0
     \the\gluestretchorder\skip2
     \the\gluestretchorder\skip4
     \the\gluestretchorder\skip6

     \the\eTeXgluestretchorder\skip0
     \the\eTeXgluestretchorder\skip2
     \the\eTeXgluestretchorder\skip4
     \the\eTeXgluestretchorder\skip6

which gives

1234
-1123

but patching  the tex.setglue  etc is left to  the format .


-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20191009/dd11cd55/attachment.html>


More information about the luatex mailing list