[xml/sgml-pkgs] Bug#439214: Bug#439214: docbook2x-man runs without error but produces no output
Daniel Leidert
daniel.leidert at wgdd.de
Thu Aug 23 11:42:38 UTC 2007
Am Donnerstag, den 23.08.2007, 07:02 -0400 schrieb Adrian Mariano:
> I ran
>
> docbook2x-man units.xml
>
> and got no output file.
>
> In an effort to troubleshoot I ran this:
>
> % db2x_xsltproc -d -s man units.xml -o units.mxml
> /usr/bin/xsltproc --nonet --debug --output units.mxml http://docbook2x.sourceforge.net/latest/xslt/man/docbook.xsl units.xml
>
> No information about errors appears.
>
> The output units.mxml file is basically empty:
>
> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
> <manpageset xmlns="http://docbook2x.sourceforge.net/xmlns/Man-XML"/>
>
> My input file, units.xml was produced from a texinfo file
> automatically and appears here:
>
> <?xml version="1.0"?><!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
> <!ENTITY tex "TeX">
> <!ENTITY latex "LaTeX">
> ]>
First: Can you please attach the file instead of quoting it inline? It
would really, really help to decrease the necessary work for me.
> <book lang="en">
[snip]
Second: Manpages are of <refentry> root element. But your book doesn't
contain any refentry element. For an example of a manpage written in
bocbook XML
see /usr/share/doc/docbook-xsl/examples/foo.1.example_manpage.xml.gz.
So to my knowledge, you/docbook2x cannot produce any manpage from the
file you gave. You probably need to adjust the units.xml creation from
the texinfo file to create a manpage source.
>From what you told and send, this is not a bug.
Regards, Daniel
More information about the debian-xml-sgml-pkgs
mailing list