Package: dblatex
Version: 0.3-2

According to <URL: http://oreilly.com/openbook/docbook/book/chapter.html >,
this is the definition of the chapter label:

  Label specifies an identifying string for presentation purposes. The
  fourth Chapter in a Book might be labeled "4", for example.

  Generally, an explicit Label attribute is used only if the processing
  system is incapable of generating the label automatically. If present,
  the Label is normative; it will used even if the processing system is
  capable of automatic labelling.

But when using dblatex, this value seem to be ignored.  I expect this
docbook example to give me one book with chapter 10 (say the previous
book in the serie had chapters 1-9), but instead I get chapter 1. :(

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; >
<book id="index" lang="en">
<bookinfo>
  <title>Example documenting chapter label problem with dblatex</title>
</bookinfo>

<chapter label="10">
<title>This chapter should have label (aka number) 10.</title>
<para>
This should be the first paragraph in chapter 10.
</para>
</chapter>
</book>

Can dblatex be changed to use the label value when generating the PDF
output?

An alterative for me would be if I could change the start number of the
first chapter to a value of my choosing.  Is that possible with dblatex?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to