🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2069

A question for a TeXnician about \shipout

#2069
From: Stephen Edward Simmons
Date: Fri, 04 Sep 1992 03:42
22 lines
1523 bytes
I have written a LaTeX style that takes pages in pairs and ships them
out, one on the left hand side of a (landscape) A4 page and the other on 
the right.  This was done by re\defining \shipout to save the left
hand pages in a box, and then call the real \shipout with the 
left and the right hand pages in an \hbox when the right page is complete.

This works fine, except for cross-referencing.  Because the \write commands
are expanded when the double pages are finally shpped out, references to the
page numbers come out with odd pages numbers (the left hand pages) replaced
with the right hand page number.

Is there any way to convince \writes on the left hand pages to occur when the
page is complete and stored in the temorary box rather than when both pages
are shipped out?  

Alternatively, is it possible to replace references to \count0 on the left
hand pages to \count0-1 so that they come out correctly when the double
page goes through TeX's intestinal tract?

Thanks. 

Stephen Simmons
Technical Details
Message-ID: <9224813.24368@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!micro-heart-of-gold.mit.edu!uw-beaver!cornell!batcomputer!munnari.oz.au!cs.mu.OZ.AU!krang.vis.citri.edu.au!simmons

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!rutgers!micro-heart-of-gold.mit.edu!uw-beaver!cornell!batcomputer!munnari.oz.au!cs.mu.OZ.AU!krang.vis.citri.edu.au!simmons
From: simmons@krang.vis.citri.edu.au (Stephen Edward Simmons)
Newsgroups: comp.text.tex
Subject: A question for a TeXnician about \shipout
Message-ID: <9224813.24368@mulga.cs.mu.OZ.AU>
Date: 4 Sep 92 03:42:22 GMT
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
Lines: 22