Package: dblatex
Version: 0.3-2

When processing the included docbook file, I get this output from
dblatex:

  % dblatex examples/bad-beginpage.xml
  Build the book set list...
  Build the listings...
  XSLT stylesheets DocBook - LaTeX 2e (0.3.4-2)
  ===================================================
  Cannot start a new page at a specific page number
  Build bad-beginpage.pdf
  'bad-beginpage.pdf' successfully built
  %

Note the 'Cannot start a new page at a specific page number' message.
It is casued by the <beginpage> tag with a page number included.
This is the description of <beginpage> in
<URL: http://www.docbook.org/tdg/en/html/beginpage.html >:


  The BeginPage element marks the location of an actual page break in a
  print version of the document, as opposed to where a page break might
  appear in a further rendition of the document. This information may be
  used, for example, to allow support staff using an online system to
  coordinate with a user referring to a page number in a printed manual.

  Processing expectations

  The break identified by BeginPage may be displayed in an online
  version of the document or used for legacy purposes, but it is not
  expected to cause a page break when the document is processed by an
  SGML system.

In my document, I use it to indicate where the page breaks were located
in the original paper version of the document (to make it easier to find
correct section when adding indexterm entries), but this do not seem to
be the way dblatex interpret it.  Please check if dblatex is handling it
wrong.

This is the demo document:

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd";>
<book>
  <bookinfo>
    <title>Example demonstrating dblatex mishandling of beginpage</title>
  </bookinfo>
<preface>
<title>test</title>
<!--
This causes the message 'Cannot start a new page at a specific page
number' to show up, even if the <beginpage> tag is just a marker for a
pagebreak in the original document.
-->
<beginpage pagenum='10'/>
<para>text is good</para>
</preface>
</book>

-- 
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