🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #1694

Basic plan for oddpage/evenpage line numbering macro

#1694
From: James Fortune
Date: Tue, 25 Aug 1992 20:01
25 lines
1810 bytes
Cameron Smith suggested reading the TUGboat tutorial by David Saloman
that appeared in Volume 11 (1990), Nos. 1, 2, and 4.  The math dept.
here had Nos. 1 and 2 so I read those.  I was very impressed with
the amount of thought that went into creating the sample OTRs (Output
Routines).  The example given on pages 221 and 222 of No. 2 was
especially illuminating.  My plan is first to do the exercise on
page 222 (i.e., restore the flexible glues to the copy of \box255).
The oddpage/evenpage logic can be contained in the /output= portion
so that the numbers are written on the correct side.  Within the
oddpage/evenpage logic the lineCount can be used to determine which
lines will be augmented with the linenumber information.  I will probably
leave out the special case of actual display math in the .tex file
for now since my application does not require it.  The \renewcommand
should be able to kick on and off the special \output= command when
the line numbering is not needed.  My thanks to Cameron Smith and
David Saloman for their help.  Any other comments or suggestions are
welcome before I begin.

Thanks,
JAF
-- 
James Fortune                  - There are many sides to every question
Oakland University             - until you know the truth.  Then there's
jafortun@vela.acs.oakland.edu  - only one.  --  C. S. Lewis
Disclaimer: Not O.U. opinions  - 
Technical Details
Message-ID: <1992Aug25.200144.21014@vela.acs.oakland.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!vela!jafortun

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!m.cs.uiuc.edu!vela!jafortun
From: jafortun@vela.acs.oakland.edu (James Fortune)
Subject: Basic plan for oddpage/evenpage line numbering macro
Message-ID: <1992Aug25.200144.21014@vela.acs.oakland.edu>
Keywords: pentastich, line numbering
Organization: Oakland University, Rochester MI.
Date: Tue, 25 Aug 1992 20:01:44 GMT
Lines: 25