hi,
i was playing with man pages and found by chance that empty lines before .TH
seems to confuse groff.
./"
./"
./"
.TH The header
works fine (no warnings what so ever) but has am empty page in front and
changes in page numbering are
ignored.
./"
./"
./"
.TH The header
But
If you read the .TH macro code carefully, you'll discover its role is to
set up the printing for that file (or group of files). It initializes
page dimensions, type faces, size and spacing, etc.
Any empty lines before it result in a break (.br), and
producegroff/troff's default behavior before
> 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.
>
> ./"
>
> ./"
>
> ./"
> .TH The header
>
>
>
>
> works fine (no warnings what so ever) but has am empty page in front
> and changes in page numbering ar
Werner LEMBERG schrieb:
>> 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.
>
>>
>> ./"
>>
>> ./"
>>
>> ./"
>> .TH The header
>>
>>
>>
>>
>> works fine (no warnings what so ever) but has am empty pag
> I do not think there is anything to "fix", it is simply
> a question of helping users. Empty lines before .TH are
> most likely not what the user intended. *if* some can
> fix that easy (read: print a warning) someone should do.
You could put this in the manpage macro file:
.de blankwarn
.