🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #3049

Re: extended \*(xx sequence for .RS/.RF; is it possible?

#3049
From: Chris Lewis
Date: Sun, 24 Jan 1993 16:10
29 lines
1886 bytes
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
Technical Details
Message-ID: <4175@ecicrl.ocunix.on.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!uunet.ca!ecicrl!clewis
References: <1993Jan23.214359.29186@porthos.cc.bellcore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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