<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Le 28/06/2011 16:34, Paul Isambert a écrit :
    <blockquote cite="mid:4E09E667.5070500@free.fr" type="cite">
      <br>
      <br>
      Le 28/06/2011 16:03, Patrick Gundlach a écrit :
      <br>
      <blockquote type="cite">Hi Paul,
        <br>
        <br>
        <blockquote type="cite">
          <blockquote type="cite">tex.shipout(255)
            <br>
          </blockquote>
          That should be:
          <br>
          tex.shipout(tex.box[255])
          <br>
        </blockquote>
        That is in conflict with the manual (which states that
        tex.shipout's argument is a number)
        <br>
      </blockquote>
      <br>
      Indeed, there's an error in the manual.
      <br>
      <br>
      <blockquote type="cite">  as well does not give the desired
        result. (There should be a 10pt by 20pt box on the first page.
        <br>
      </blockquote>
      <br>
      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.
      <br>
    </blockquote>
    <br>
    Sorry, what I've said is completely wrong. tex.shipout() does take a
    number as its argument. But material is added to box 255 only when
    TeX is calling \output. So tex.shipout() outside an output routine
    is very likely to shipout an empty box. I <i>think</i> I got it
    right this time :)<br>
    <br>
    Best,<br>
    Paul<br>
  </body>
</html>