I did try it exactly as you described below with -T html option. When I
opened the html file with the browser, the table was missing.
I see what you mean by an "infinite page length". Maybe the html output
is done with post-processing and groff internally still imposes a page
length.
Thanks for taking the time to reply. I learnt one thing: the 'grog'
command.
On 06/27/2016 10:05 AM, James Cloos wrote:
>>>>>> "KT" == Ken Teh <[log in to unmask]> writes:
>
> KT> Thanks for the tip. Grog outputs
> KT> groff -t -man
>
> My point was that then doing one of:
>
> groff -t -man -Txhtml filename >file.html
> groff -t -man -Thtml filename >file.html
>
> should work since the page length for html is as clone to infinite as
> can be specified.
>
> KT> error: page 11: table will not fit on one page; use .TS H/.TH with a
> KT> supporting macro package
>
> KT> If I read this right, it says to add troff markup to the man page source
> KT> and to rerun groff with one or more additional packages.
>
> The "supporting macro package" part suggests that the an macros probably
> do not work with that, so the only way is to use a device with an
> essentially endless page length.
>
> And then use a browser to print it.
>
> -JimC
>