🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2524

Re: A question for a TeXnician about \shipout

#2524
From: Donald Arseneau
Date: Fri, 11 Sep 1992 00:55
36 lines
1984 bytes
Stephen Edward Simmons, simmons@krang.vis.citri.edu.au wrote:
>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?  

I suppose I should start by recommending that each column be shipped out 
as a page, if it is indeed a page, and let the DVI program handle it.

Or I should ask why a column is "left hand page" with its own page number.

But I will give some practical recommendations instead.

I expect the page numbers are being written to files for cross referencing
and compiling a table of contents.  There is no reason, then, why the explicit
page number need be written to the file.  The thing to write would be
\ifleftcol 13\else 14\fi, where \ifleftcol is set true or false by
writing \leftcoltrue at the top of the left column, and writing
\leftcolfalse at the top of the right column.  Thus, a TOC file
would look like

\leftcoltrue
\TOCentry{section}{1}{Introduction}{\ifleftcol 1\else 2\fi}
\leftcolfalse
\leftcoltrue
\leftcolfalse
\leftcoltrue
\TOCentry{section}{2}{Theory}{\ifleftcol 5\else 6\fi}
\leftcolfalse
\TOCentry{section}{3}{Procedure}{\ifleftcol 5\else 6\fi}
\leftcoltrue
\leftcolfalse

Cross referencing is done similarly, but the cross reference macro
has to be \edef-ed to evaluate the \if.

Donald 
Technical Details
Message-ID: <10SEP199217550757@msr.triumf.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ubc-cs!unixg.ubc.ca!msr.triumf.ca!asnd
References: <9224813.24368@mulga.cs.mu.OZ.AU> <1992Sep4.181723.12799@mail.cornell.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ubc-cs!unixg.ubc.ca!msr.triumf.ca!asnd
From: asnd@msr.triumf.ca (Donald Arseneau)
Newsgroups: comp.text.tex
Subject: Re: A question for a TeXnician about \shipout
Message-ID: <10SEP199217550757@msr.triumf.ca>
Date: 11 Sep 92 00:55:00 GMT
References: <9224813.24368@mulga.cs.mu.OZ.AU> <1992Sep4.181723.12799@mail.cornell.edu>
Sender: news@unixg.ubc.ca (Usenet News Maintenance)
Organization: TRIUMF: Tri-University Meson Facility
Lines: 36
News-Software: VAX/VMS VNEWS 1.41
Nntp-Posting-Host: msr.triumf.ca