Hi Andreas,
Yes \appendix does the trick but does not allow to put normal sections
afterwards, which is not compliant with docbook. Moreover just using
\appendix does not work when a <part> contains an <appendix>, for the same
reason. Just try this example:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<book lang="en" id="partsandappendix">
<part><title>foo</title>
<chapter><title>foo</title>
<para>fffff</para>
</chapter>
<appendix><title>foo</title>
<para>fffff</para>
</appendix>
</part>
<part><title>foo</title>
<chapter><title>foo</title>
<para>fffff</para>
</chapter>
</part>
</book>
The appendices environment allows it, it was introduced in 0.2.12 from a
user request.
And you are right, the patch must be displayed in all latex styles, but it
is not a big deal.
Regards,
BG
On Fri, 01 Jul 2011 20:54:12 +0200, Andreas Hoenen
<andr...@hoenen-terstappen.de> wrote:
W. Martin Borgert <deba...@debian.org> wrote:
Quoting ben.guillon <ben.guil...@gmail.com>:
> To avoid this, i force the label in the following workaround. Can
you try it
> in db2latex env? Seems to work in the default docbook style.
Seems to work perfectly, many thanks!
Wolfgang,
sorry to contradict, but when I test Benoît's patch it only works for
native style, however both other styles db2latex and simple still show
the errors documented in your report.
Benoît,
if I get the document you cited [1] right, one can choose either the
appendix command or the appendices environment. My patch suggestion
tries the command instead of the environment, and this works with
Wolfgangs example independent of the chosen dblatex style. As this
approach works on the XSLT level, it automatically applies to all
styles. Your TeX level patch would need to be integrated into the TeX
files of all three styles, wouldn't it?
[1] http://mirror.ctan.org/macros/latex/contrib/appendix/appendix.pdf
Regards, Andreas
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org