home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-
-