[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] man makro oddity
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] man makro oddity |
Date: |
Fri, 19 Feb 2010 17:17:21 +0100 (CET) |
> i was playing with man pages and found by chance that empty lines
> before .TH seems to confuse groff.
`Confuse'? I don't think so.
> <code>
> ./"
>
> ./"
>
> ./"
> .TH The header
>
> ....
> </code>
>
> works fine (no warnings what so ever) but has am empty page in front
> and changes in page numbering are ignored.
>
> <code>
> ./"
> ./"
> ./"
> .TH The header
>
> ....
> </code>
>
> But this produces the desired output. Is is possible to have a
> warning, when accidentally empty lines in front are found?
It's probably not worth the time to fix this. Note that you can
concatenate various man pages – in both man and mdoc formats, IIRC;
.TH then needs to start a new page. The result you are seeing is a
side effect of this.
Werner