[luatex] \vsplit issue
luigi scarso
luigi.scarso at gmail.com
Sat May 21 00:19:55 CEST 2016
On Fri, May 20, 2016 at 11:58 PM, luigi scarso <luigi.scarso at gmail.com>
wrote:
>
>
> On Fri, May 20, 2016 at 10:58 PM, Joseph Wright <
> joseph.wright at morningstar2.co.uk> wrote:
>
>> Hello all,
>>
>> The example
>>
>> \setbox0=\vbox{a\par b\par c\par d}
>> \setbox2=\vsplit0 to 2cm %
>> %\showboxbreadth\maxdimen
>> %\showboxdepth\maxdimen
>> %\showbox2 %
>> \bye
>>
>> gives an underful vbox with pdfTeX, leading to a warning and box trace
>> in the log. The same isn't the case for LuaTeX (v0.95 from TL'16), which
>> comes from the fact the box is no longer the same size:
>>
>> > \box2=
>> \vbox(40.30554+0.0)x469.75499, direction TLT
>>
>> from LuaTeX, wherease pdfTeX gives
>>
>> > \box2=
>> \vbox(56.9055+0.0)x469.75499, glue set 5.53333
>>
>> An error?
>>
>> Joseph
>>
>
> thank you for the report, we are seeing it.
>
> --
> luigi
>
It's a bug:
we have a patch, but we also want to implement upto
\vsplit to 2cm
\vsplit upto 2cm
so this keyword saves a \setbox2\vbox{\unvbox2}
We will commit it to experimental (which is already 0.96.0,
and in any case not for trunk and 0.95.0, tl is frozen.
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20160521/2a777f35/attachment-0001.html>
More information about the luatex
mailing list