[2560] in SIPB bug reports

home help back first fref pref prev next nref lref last post

dvips man page

daemon@ATHENA.MIT.EDU (amgreene@Athena.MIT.EDU)
Thu Mar 5 16:39:42 1992

From: amgreene@Athena.MIT.EDU
Date: Thu, 5 Mar 92 16:38:52 -0500
To: jik@pit-manager.MIT.EDU
Cc: leira@Athena.MIT.EDU, bug-sipb@Athena.MIT.EDU
In-Reply-To: "Jonathan I. Kamens"'s message of Thu, 5 Mar 92 14:30:08 -0500 <9203051930.AA28898@pit-manager.MIT.EDU>


   Date: Thu, 5 Mar 92 14:30:08 -0500
   From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>

   If it is possible for more than one page in the DVI file to have the
   same page number, as it must be if the man page considers it necessary
   to say "the first one," then the numbers dvips is using MUST be the
   numbers inserted into the file by tex.

TeX has ten "page number" counters, \count0 through \count9.  The first
one, \count0, is what we all think of as the page number (and what dvips
uses).  The others are "sub-page numbers;" for example my calendar
macros print each month on two pages (in order to increase the size),
and numbers the pages 1.0, 1.1, 2.0, 2.1, etc.

I believe dvi2ps uses the actual count of "End Of Page" tokens in the 
dvi file.  Thus, to print February (assuming my calendar runs from Jan.
to Dec.), I'd specify pages from 2 to 2 in dvips, but 3 to 4 in dvi2ps.

This will cause confusion if one has an unnumbered title page followed by
page "1" of the document.  dvips will use the actual page number, dvi2ps
will use the actual number of pages.  Big difference. :-)

- Rhu

home help back first fref pref prev next nref lref last post