Article View: comp.text
Article #1208Cross Referencing in TeX
From: Na Choon-Piaw
Date: Wed, 15 Nov 1989 17:03
Date: Wed, 15 Nov 1989 17:03
28 lines
1155 bytes
1155 bytes
I'd like to know how to do cross-referencing in TeX. Preferably
automatically. For instance, I'd like to be able to say something like:
\beginsection{This is a test}
\label{foo}
\endsection
....
This is talked about in section{foo}
I'd like to be able to program TeX to do it. (No, I hate LaTeX, and haven't
bothered replacing my manual since it got lost) This would be useful for
things like computer manuals, or wargames rules, for instance.
I have no idea how to do it, other than by writing to a file, and that's kinda
messy:
1.1
title1
1.2
title2
And I can't do forward referencing in that case.
Ideas, suggestions? I'd particularly like to know how LaTeX does it (no, I
don't find that code readable...)
Na Choon Piaw
piaw@cory.berkeley.edu
Technical Details
Message-ID:
<PIAW.89Nov15090306@soda.Berkeley.EDU>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!pasteur!piawShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!pasteur!piaw From: piaw@soda.Berkeley.EDU (Na Choon-Piaw) Newsgroups: comp.text Subject: Cross Referencing in TeX Message-ID: <PIAW.89Nov15090306@soda.Berkeley.EDU> Date: 15 Nov 89 17:03:06 GMT Sender: news@pasteur.Berkeley.EDU Distribution: comp.text Organization: cc Lines: 28