On Wed, Sep 28, 2005 at 10:37:45AM +0800, Lei Ming wrote:
> I encountered a strange problem with page header.
> Following is a small test case. Please process it
> with groff and see the PostScript output.
>
> .\"__
> .de H
> .tl 'X'Y'Z'
> \l'\n(.lu\(rn'
Werner Lemberg wrote, quoting me:
>> Since I first saw this technique, in Tadziu's own `tmac.diss'
>> documentation, I've been toying with ideas on how I might adapt it
>> for `pdfroff'. I'd actually like to engineer the concept directly
>> into groff itself. [...]
>
> I'm not convinced that this
To be honest, my method has been pretty much obsoleted by
groff's "write" requests. It had been based on the fact
that troff had had no capability for writing larger blocks
of text (i.e., multi-line chunks) to external files.
Here is a toy model of a much better approach. Just roff
the file twi