home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!allegra!alice!npn
- From: npn@alice.att.com (Nils-Peter Nelson)
- Newsgroups: comp.text
- Subject: Re: extended \*(xx sequence for .RS/.RF; is it possible?
- Summary: sorry, two characters is the name limit
- Message-ID: <24703@alice.att.com>
- Date: 25 Jan 93 21:29:27 GMT
- Article-I.D.: alice.24703
- References: <1993Jan23.214359.29186@porthos.cc.bellcore.com>
- Organization: AT&T Bell Laboratories, Murray Hill NJ
- Lines: 16
-
-
-
- Correspondent would like "long register names."
- Sorry, but the "twoness" of troff is pervasive.
- There are 96 printing characters (not all of which
- can appear in string names; eg I would't try backslash)
- and you can use one or two char names, so 96*96+96
- appears to be the limit.
- The way most people solve this is to append to
- a diversinon with your own personal "magic cookie"
- and then use a companion awk program.
- For example: ***REF1 <contents of reference 1>
- Of course, this means you need 2 passes, but you
- always need two passes due to the potential for
- forward referencing. You then insert your simple
- awk program between the 2 passes.
-