Next: Question 24
Prev: Question 22
Up: Common Things People Want To Know
Top: Top
[23] Automatic referencing in documentation sections?
To produce the woven output
For info on porting, see section 5
As Steve Avery reported, you can cheat and, somewhere after you
start the module,
just throw in something like
`\let\refporting=\modno' and then reference it by
`see section~\refporting'.
[Archive-Date: Mon, 24 Aug 1992 22:55:43 CDT]
In FWEB, `\modno' is set to the number of the module being
typeset.
Another way to refer to a section is described in [M-20.7.18]:
`section' is inserted automagically.
In the same fashion, the label `ANOTHER' allows
the user to refer to that section number.
[Archive-Date: Tue, 25 Aug 1992 04:40:29 CDT]
In LaTeX, forward referencing works, in Plain TeX it doesn't.
Unless you're using LaTeX, the latter recipe
requires that `\modlabel{ANOTHER}' is defined
before referring to it.
If you want to say module instead of section,
use `\WEBmodule' (or equivalently `\module')
instead of `\WEBsection'.