Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpda!hpsal2!morrell From: morrell@hpsal2.HP.COM (Michael Morrell) Newsgroups: comp.text Subject: Re: symbolic references in [nt]roff Message-ID: <2610008@hpsal2.HP.COM> Date: 19 Feb 88 21:24:28 GMT References: <63@lzaz.ATT.COM> Organization: HP System Architecture Lab, Cupertino Lines: 28 / hpsal2:comp.text / hutch@lzaz.ATT.COM (R.HUTCHISON) / 4:34 am Feb 18, 1988 / When writing a document, I want to be able to symbolically reference some point in my (or someone else's) document. FOr example, in my document, I want to say... ... for more information, refer to page XX (section 1.2.3) of this manual. I don't want to hard-code either the page number or the section number because if I change the document substantially these numbers will change and I might forget to adjust all the references. I would like to be able to mark a point in my document, assign a symbol (hopefully not only 2 characters) and then reference that symbol elsewhere. I would like forward and backward references (I know I might have to troff it twice - it would be worth it). Has anyone solved this one? If so, would you like to share it with me (us)? Thanks much Robert Hutchison ihnp4!lzaz!hutch ---------- Have you tried the lbl program that was posted some time back. I think it was in comp.sources.unix. I'll post a copy if there's enough interest. Michael Morrell hpda!morrell