Hi Chris,
I'm not able to duplicate this problem. In general, the DocBook stylesheets use the
term "component" to refer to a child of book, and "division" for set, book or part.
So if your glossary element is a child of book, then "component.title" would be
correct. I'm surprised that "component.title" caused the book title to display,
because the call to it selects the glossary element.
Perhaps you could describe the structure of your book and the location of the
glossary?
And excuse me if you have already tried this, but does the book validate? And do you
get this result with the stock DocBook XSL stylesheets or a customization layer? If a
customization, have you tried the stock stylesheets?
Bob Stayton
Sagehill Enterprises
[email protected]
----- Original Message -----
From: "Chris Ridd" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 16, 2011 7:56 AM
Subject: [docbook-apps] glossary template buglet?
In the default titlepage template for glossary, the title is formed from:
<title t.named-template="component.title" [...]
That seems wrong! In the manual that I'm hacking, that used the book's title at the
top of the glossary.
Changing it to use "division.title" made the expected glossary/title appear.
Is this the correct fix? I am not very comfortable with the titlepage
templates...
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]