[xml/sgml-pkgs] Bug#439214: Bug#439214: docbook2x-man runs without error but produces no output
Daniel Leidert
daniel.leidert at wgdd.de
Fri Aug 24 09:35:34 UTC 2007
Am Donnerstag, den 23.08.2007, 23:08 -0400 schrieb Adrian Mariano:
[..]
> > > I don't actually know anything about docbook, I was just trying to
> > > assemble the scripts to do the above. It sounds like either my
> > > texinfo source is defective
> >
> > Hm. Not sure. Your texinfo produces fine Docbook XML, so I don't think,
> > it's "defective" ...
> >
> > > or the texinfo command that generated the
> > > docbook file isn't doing the right thing.
> >
> > ... but it produces a book instead of a refentry. So I think, the
> > command doesn't do the right job for you. You should check, when/if this
> > command prepares a refentry from texinfo files.
>
> It appears that it never prepares a refentry. At least, there's no
> mention of this possibility. Is this something that could be easily
> wrapped around the output that is produced? Or would it be more
> involved?
I guess, you would need to (a) write your own custom stylesheet to
produce groff output from a book or (b) write an own stylesheet that
converts the book into a refentry, which can then be processed with the
original stylesheets. Maybe there are more possibilities. You should ask
on the docbook-apps mailing list.
> > > Note, however, that the example you mention above didn't work either:
> > >
> > > % docbook2x-man examp.xml
> > > /usr/bin/iconv: illegal input sequence at position 526
> > > /usr/bin/db2x_manxml: program in pipeline exited with an error
> >
> > Do you use an ext3 filesystem with dir_index enabled? You are maybe
> > bitten by
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=430118
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=425928
> >
> > Can you check this?
> >
> > dumpe2fs /dev/whatever | grep "Filesystem features"
>
> Looks like I do have ext3 with dir_index enabled:
>
> Filesystem features: has_journal resize_inode dir_index filetype
> needs_recovery sparse_super large_file
>
> I couldn't figure out from reading the book reports: is there a fix
> for this?
"Fix" /etc/perl/XML/SAX/ParserDetails.ini and move
> [XML::SAX::Expat]
> http://xml.org/sax/features/namespaces = 1
> http://xml.org/sax/features/external-general-entities = 1
> http://xml.org/sax/features/external-parameter-entities = 1
to the end of the file, as also mentioned in
http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=67;bug=425928.
Regards, Daniel
More information about the debian-xml-sgml-pkgs
mailing list