groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] using -mom to write a paper


From: Petr Man
Subject: Re: [Groff] using -mom to write a paper
Date: Wed, 2 Feb 2011 14:48:33 +0100

On Tue, Feb 1, 2011 at 23:46, Peter Schaffter <address@hidden> wrote:
>> The "environment stack underflow" also comes up if I make more than 9
>> subheads in one column, but I am not able to reproduce this reliably.
>> All this happens only when I use two columns.
>
> I'm unable to reproduce this. See whether it still crops up with
> the fixed om.tmac in the repository.  If it does, attach an example
> demonstrating the problem.

Both underflows fixed. Perfect.

>> In case I decide to extend my om.tmac, are there any
>> caveats in "cloning" what .SUBHEAD does and adding an extra
>> .SUBSUBHEAD?
>
> Caveats include TOC collection/formatting, and head/subhead numbering.
>
> For the purposes of generating a TOC, the clone will collect the
> sub-subhead as if it were a subhead and format it accordingly in the
> TOC, which is probably not what you want.  Equally, the clone will
> number the sub-subhead as if it were a subhead--again, most likely
> not what you want.
>
> If TOC and numbering aren't an issue, then cloning should work,
> but I'd still recommend using the SUB-SUBHEAD macro, above, and
> modifying it to your needs.

Thanks for all the help, I have decided to copy-paste in my om.tmac to
support a SUBSUBHEAD. Would there be any interest in a patch?

Petr



reply via email to

[Prev in Thread] Current Thread [Next in Thread]