[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Resolving Forward References
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Resolving Forward References |
Date: |
Fri, 02 Jan 2004 23:22:34 +0000 |
Hi,
Ted Harding wrote:
> More precisely, you can start your file with
>
> .nr run1 1
> .if !\n[run1] .so xrefs.troff
> ....
>
> and then, for the second pass, change the first line to
>
> .nr run1 0
To automate this a little more you can define run1 on the command line
using `-rrun1=...' which avoids altering the source file and do the two
runs of groff from your makefile or similar.
Cheers,
Ralph.