Hello Bob and all other Docbook users,
First of all, thank you Bob for your quick response! I appreciate it much!
Regarding the first problem, I don't really imagine how I can insert a book title into the template similar to how it is inserted into the first title-page (as in titlepage-templates.xsl).
Regarding the second problem, I removed the book template from my customization layer, but unfortunately the front cover still appears twice (as if the cover mechanism generates an even and odd page). After that comes the titlepage. However, the back cover page is OK. When I access the FO file, I see the call to the front coverpage background file only once!!?? I don't understand why this problem happens. Please, please advise!
Thank you very much in advance!!!!
My best wishes,
--- On Sat, 1/3/09, Bob Stayton <firstname.lastname@example.org> wrote:
From: Bob Stayton <email@example.com>
Subject: Re: [docbook-apps] Docbook: A front cover page is inserted twice -- please help!!!
To: firstname.lastname@example.org, email@example.com
Date: Saturday, January 3, 2009, 3:43 PM
Regarding problem 1, I don't see in your front.cover template anything that would output a book title. The flow seems to contain only an empty fo:block.
Regarding problem 2, the stock template (starting with 1.73.1) with match="book" already calls the templates named 'front.cover' and 'back.cover', so you don't need that customized book template. That's why you get it twice.
----- Original Message -----
Sent: Saturday, January 03, 2009 12:24 PM
Subject: [docbook-apps] Docbook: A front cover page is inserted twice -- please help!!!
I am struggling with the book template (appears in division.xsl). I defined both the front cover and back cover in my custom.xsl. Then I call the book template as follows:
When I generate a PDF, the back cover is OK, but the front cover has the following severe problems:
1) No book title is generated on the front cover's background/
2) The cover appears twice before the titlepage-first.
My template for the front coverpage is as follows:
<!--front coverpage layout-->
Its page sequence is defined as follows:
Please, please advise how to solve these issues!!!
Thank you all in advance!!!