docbook-apps

  • 1.  manpage/docbook.xsl generated code broken for nroff

    Posted 02-03-2009 10:47
    Hello list,

    I'm facing another problem with the manpage generation from Docbook source:
    I'm using `xsltproc` with the 1.74.0 XSL manpage/docbook.xsl stylesheet.

    So far the manpages look allright on platforms that are using groff
    for formatting (linux, OS X), but on plattform where nroff is used
    (Solaris, Opensolaris) _all_ manpages come out bad, only header and
    footer are shown.

    I've isolated the problematic code: it's coming from the template
    "define.macros" in manpages/other.xsl. If I remove the following
    macros, nroff processes the manpages ok: toupper, SH-xref, SH, SS.

    The unedited generated manpage is attached. Source:
    http://netatalk.cvs.sourceforge.net/viewvc/netatalk/netatalk-docs/manual/man/man1/achfile.1.xml?revision=1.4&view=markup

    Imo the XSL stylesheet should be fixed to also support other *roff
    implementations than groff. Until then I guess I'll have to somehow
    inject my own "define.macros" stylesheet.

    -Ralph



  • 2.  Re: [docbook-apps] manpage/docbook.xsl generated code broken for nroff

    Posted 02-03-2009 11:06
      |   view attached
    Ralph Böhme wrote <ralph@rsrc.de>:
    > ...
    > The unedited generated manpage is attached.

    Now it is.

    -Ralph
    </ralph@rsrc.de>

    Attachment(s)

    txt
    achfile.1.txt   4 KB 1 version