Le 28/06/2011 16:03, Patrick Gundlach a écrit :
Hi Paul,
tex.shipout(255)
That should be:
tex.shipout(tex.box[255])
That is in conflict with the manual (which states that tex.shipout's argument
is a number)
Indeed, there's an error in the manual.
as well does not give the desired result. (There should be a 10pt by 20pt box
on the first page.
If I'm not mistaken, when tex.shipout() occurs, the node appended to the
main vertical list hasn't been moved to box 255 yet. I can't remember
exactly the places when TeX does move material to the output box, but I
think you should consider them.
Best,
Paul