Article View: comp.text
Article #3053Re: extended \*(xx sequence for .RS/.RF; is it possible?
From: Nils-Peter Nelson
Date: Mon, 25 Jan 1993 21:29
Date: Mon, 25 Jan 1993 21:29
16 lines
1232 bytes
1232 bytes
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.
Technical Details
Message-ID:
<24703@alice.att.com>Path:
arc1-ca.pugleaf.net!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!npnReferences:
<1993Jan23.214359.29186@porthos.cc.bellcore.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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