OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Set with 2 Books: Wrong Page Numbering on the 2nd Book?


It is a bug in the template named initial.page.number in fo/pagesetup.xsl.
That template counts preceding chapters to determine the starting number,
but fails to take into account preceding chapters in a preceding book.  Can
you please file a bug report on the DocBook SourceForge project page?

http://sourceforge.net/docman/display_doc.php?docid=27830&group_id=21935

Thanks.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Thomas Schraitle" <tom_schr@web.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Thursday, September 22, 2005 12:39 AM
Subject: [docbook-apps] Set with 2 Books: Wrong Page Numbering on the 2nd
Book?


>
> Hi,
>
> I discovered a strange page numbering in my PDF file after creating a set
with two books. See the following listing:
>
> ----------------------------------------------
> <?xml version="1.0"?>
> <!DOCTYPE set PUBLIC
>   "-//OASIS//DTD DocBook XML V4.3//EN"
>   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd";>
> <set lang="en">
>   <title>Set Test</title>
>   <book id="book.admin" lang="en">
>     <bookinfo>
>       <title>Admin</title>
>     </bookinfo>
>     <chapter id="cha.install">
>       <title>Installation</title>
>       <para>Lorem ipsum ...</para>
>     </chapter>
>   </book>
>
>   <book id="book.user" lang="en">
>     <bookinfo>
>       <title>User</title>
>     </bookinfo>
>     <chapter id="cha.foo">
>       <title>Foo</title>
>       <para>Lorem ipsum ...</para>
>     </chapter>
>   </book>
> </set>
> ----------------------------------------------
>
> After creating the FO file from the latest DocBook stylesheets
(21-Sep-2005 12:26, with no customization layer) and building the PDF with
XEP (4.4 build 20050822), I discovered the following page numbering:
>
> Table of Contents
>
> Admin
>   1. Installation    1
> User
>   1. Foo             4
>
> Should it be page 1 for the chapter "Foo"? Can anybody confirm this?
>
> Thanks,
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]