home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / text / 1606 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.1 KB

  1. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!att!allegra!alice!jaap
  2. From: jaap@alice.att.com (jaap)
  3. Newsgroups: comp.text
  4. Subject: Re: EQN Auto-Numbering of equations
  5. Message-ID: <24674@alice.att.com>
  6. Date: 21 Jan 93 20:53:39 GMT
  7. Article-I.D.: alice.24674
  8. References: <6723@pdxgate.UUCP>
  9. Reply-To: jaap@alice.UUCP ()
  10. Organization: AT&T, Bell Labs
  11. Lines: 17
  12.  
  13. In article <6723@pdxgate.UUCP> kevins@eecs.cs.pdx.edu (Kevin B. Stanton) writes:
  14.  > I am looking for a way to get auto-numbered equations.  I have done this
  15.  > for figures already with a simple macro which increments a number
  16.  > register, but since eqn comes before [nt]roff in the pipe, the number
  17.  > isn't appended to the .EQ until after eqn has processed the files.
  18.  > 
  19.  > Does anyone know of a common way to do this?  I have a lot of equations
  20.  > and don't want to have to do the shifting of equation numbers that would
  21.  > be necessary if I added one in the middle (or beginning).
  22.  > 
  23.  
  24. Note that .EQ and .EN lines, are copied through untouched.  To
  25. automatically number your equations, just write macro definitions for
  26. either .EQ or .EN, or adapt the ones you already use.
  27.  
  28.     jaap
  29.  
  30.