🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3040

Re: EQN Auto-Numbering of equations

#3040
From: jaap
Date: Thu, 21 Jan 1993 20:53
16 lines
1175 bytes
In article <6723@pdxgate.UUCP> kevins@eecs.cs.pdx.edu (Kevin B. Stanton) writes:
 > I am looking for a way to get auto-numbered equations.  I have done this
 > for figures already with a simple macro which increments a number
 > register, but since eqn comes before [nt]roff in the pipe, the number
 > isn't appended to the .EQ until after eqn has processed the files.
 > 
 > Does anyone know of a common way to do this?  I have a lot of equations
 > and don't want to have to do the shifting of equation numbers that would
 > be necessary if I added one in the middle (or beginning).
 > 

Note that .EQ and .EN lines, are copied through untouched.  To
automatically number your equations, just write macro definitions for
either .EQ or .EN, or adapt the ones you already use.

	jaap
Technical Details
Message-ID: <24674@alice.att.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!att!att!allegra!alice!jaap
References: <6723@pdxgate.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!uwm.edu!linac!att!att!allegra!alice!jaap
From: jaap@alice.att.com (jaap)
Newsgroups: comp.text
Subject: Re: EQN Auto-Numbering of equations
Message-ID: <24674@alice.att.com>
Date: 21 Jan 93 20:53:39 GMT
Article-I.D.: alice.24674
References: <6723@pdxgate.UUCP>
Reply-To: jaap@alice.UUCP ()
Organization: AT&T, Bell Labs
Lines: 17