home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uunet.ca!ecicrl!clewis
- From: clewis@ferret.ocunix.on.ca (Chris Lewis)
- Newsgroups: comp.text
- Subject: Re: extended \*(xx sequence for .RS/.RF; is it possible?
- Message-ID: <4175@ecicrl.ocunix.on.ca>
- Date: 24 Jan 93 16:10:48 GMT
- References: <1993Jan23.214359.29186@porthos.cc.bellcore.com>
- Organization: Elegant Communications Inc., Ottawa, Canada
- Lines: 29
-
- In article <1993Jan23.214359.29186@porthos.cc.bellcore.com> tony2@prefect.cc.bellcore.com (gozdz,antoni s) writes:
- |I use extensively automatic reference processing
- |in troff/Eroff. However, the standard implementation
- |allows one to use only a two-character string to name the
- |reference (I think that's the way troff was set up to
- |recognize the \*( sequence, right?).
-
- |I'd like to use longer, more descriptive strings,
- |e.g., \*(weber91a, whose length could be either
- |constant (at least 6 characters) or length.
-
- |Another, related question: is there an internal limit
- |in troff to the number of references a single document
- |may have (like the number or registers etc.)?
-
- Most versions of troff (probably including eroff) only support 2
- character string names, so you're basically out of luck using the .RS/.RF
- mechanism.
-
- However, you can use "refer", which essentially bypasses all these
- limits, and allows you to say something like [weber91] in your document.
- "refer" is a standard part of DWB, don't know about eroff. If you
- don't have refer, you could probably pick up "grefer", which is
- a part of groff. While you need C++ to compile groff, you may be
- able to obtain a pre-compiled binary of grefer for your system.
- --
- Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
- Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
- Ferret list: ferret-request@ferret.ocunix.on.ca
-