Path: utzoo!attcan!uunet!lll-winken!lll-tis!mordor!joyce!ames!pasteur!agate!violet.berkeley.edu!ilan343 From: ilan343@violet.berkeley.edu Newsgroups: comp.text Subject: Re: troff cross referencer Keywords: cross reference troff Message-ID: <14193@agate.BERKELEY.EDU> Date: 12 Sep 88 22:06:30 GMT References: <6399@orstcs.CS.ORST.EDU> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 11 In article <6399@orstcs.CS.ORST.EDU> budd@mist.cs.orst.edu (Tim Budd) writes: >Here is an idea that is so simple I wonder it isn't more widely used. >(so simple in fact I'm sure I'm not the first one to discover it). > >We can use the .sy command in ditroff, and a trivial shell script, >to make an arbitrary cross referencer. This cross referencer can be used in >a pipe, just like tbl, eqn, pic, bib and the rest. The system needs only >two strings and three macros. > Is the .sy command implemented in all versions of ditroff? It does't seem to work with the version I use in this BSD machine.