bug-groff
[Top][All Lists]
Advanced

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

Re: Empty png and HTML table when creating HTML file from man pages


From: streez
Subject: Re: Empty png and HTML table when creating HTML file from man pages
Date: Tue, 24 Mar 2015 21:11:34 -0500
User-agent: Webmail 6.0

Mobimik,

You typed this: zcat /usr/share/man/man3/exit.3.gz groff -mandoc -Thtml The command you shared errored out for me. I got this to work: zcat /usr/share/man/man3/exit.3.gz | groff -mandoc -Thtml > exit.3.html On a downside, I do not see a PNG file and do not believe that is normal output. What does this command return? ls -l /usr/share/man/man3/exit.3.gz > I try to use groff for convert man pages to HTML with this command: > zcat /usr/share/man/man3/exit.3.gz groff -mandoc -Thtml > > This generates a empty png file (zero size)! > > Image excepted is in fact a table (man 3 exit): > ┌──────────┬───────────────┬─────────────────────┐ > │Interface │ Attribute     │ Value               │ > ├──────────┼───────────────┼─────────────────────┤ > │exit()    │ Thread safety │ MT-Unsafe race:exit │ > └──────────┴───────────────┴─────────────────────┘ > > Groff also generates HTML code for the table, but it is empty! > <table width="100%" border="0" rules="none" frame="void" >        cellspacing="0" cellpadding="0"> > <tr valign="top" align="left"> > <td width="8%"></td> > <td width="7%"> > </td> > <td width="8%"> > </td> > <td width="8%"></td> > <td width="7%"></td> > <td width="62%"> > </td></tr> > <tr valign="top" align="left"> > <td width="8%"></td> > <td width="7%"></td> > <td width="8%"> > </td> > <td width="8%"></td> > <td width="7%"></td> > <td width="62%"> > </td></tr> > </table> >
Is it normal or bug?

reply via email to

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