As passivetex is not packaged for etch, about half of xmlto's functionality is just missing by now. (IMHO this is not a minor bug, but a normal or even important one.) Thus I suggest to use dblatex as passivetex's replacement to produce pdf, ps, dvi from docbook. This could be done by the following changes:
- Install the new format script [1] as /usr/share/xmlto/format/docbook/dblatex - Replace the broken format scripts /usr/share/xmlto/format/docbook/(dvi|pdf|ps) by symlinks pointing to the dblatex format script. - The conversion from FO to DVI/PDF/PS is not supported by dblatex (as it does not use FO). Thus the FO->* mechanism would have to be removed (by now it exits with a "missing passivetex" error, which not very useful, either). - Replace passivetex by dblatex in the package dependencies and in the package's documentation. - Test all open xmlto bugs that are related to dvi/pdf/ps and close those that work with dblatex. Anyone interested? :-) I'd offer to do these steps if I get an okay From the maintainers and if someone signals to sponsor me, as I'm not a DD. Please note that the current non maintainer upload should be acknowledged, too. (It consists of exactly one changed line, thus it should be easy work.) [1]
case "$1" in
stylesheet)
# Nothing to do here, as all processing is encapsulated in the dblatex call
# which gets invoked in the post-process call.
;;
post-process)
if [ ! -f /usr/bin/dblatex ]
then
echo 'dblatex is needed for this format, but it is not installed.'
echo 'Please install the dblatex package.'
exit 1
fi
SUPPRESS_OUT=
VERBOSE_OUT=
FORMAT="${0##*/}"
if [ "$VERBOSE" -ge 1 ]
then
echo >&2 "Convert to ${FORMAT}"
else
SUPPRESS_OUT='1>/dev/null'
fi
if [ "$VERBOSE" -ge 2 ]
then
VERBOSE_OUT='-V'
fi
eval dblatex --${FORMAT} ${VERBOSE_OUT} ${XSLT_PROCESSED} ${SUPPRESS_OUT}
;;
esac
Regards, Andreas
--
Andreas Hoenen <[EMAIL PROTECTED]>
GPG: 1024D/B888D2CE
A4A6 E8B5 593A E89B 496B
82F0 728D 8B7E B888 D2CE
pgpdHvvg5l4Jn.pgp
Description: PGP signature

