On Mon, May 12, 2003 at 01:58:51PM -0400, Sam Steingold wrote:
> is anyone using xsl-stylesheets/manpages?
Yes, I am, and quite successfully. All of the patchutils man pages
are generated from it, as are the man pages for xmlto, xmlif,
libieee1284, etc.
> what I get there is quite ugly:
> cmdsynopsis has just one line break:
Are you using '<sbr/>'?
> no TOC
Er.. in a man page?
> refsection's are not marked as such
Are for me.
> I also need the comments to be passed on as comments.
> I have
>
> <xsl:template match="comment()"> <!-- pass though comments! -->
> <xsl:comment><xsl:value-of select="."/></xsl:comment>
> </xsl:template>
>
> and it does work with HTML but not groff.
> [BTW, I would really like to have a NL before and after a comment...]
That could be useful; didn't think of that.
Tim.
*/