
Chip Wiegand wrote:
oxygen-user-bounces@oxygenxml.com wrote on 08/11/2005 08:41:32 AM:
Hello Chip,
First read the introduction from:
http://www.sagehill.net/docbookxsl/TitleFontSizes.html
as I said before. Titlepage customization is a process with several steps and first you have to be familiar with some special DocBook concepts. From the above link you are linked to other relevant pages that clearly explain the process. Please study them first. Best regards, Sorin
Chip Wiegand wrote:
Use the first method - customizing the titlepage specification file.
You
have to customize the chapter title specification in titlepage.templates.xml: in the *titlepage* element with the *element="chapter"* attribute change the value of the *font-size* attribute inside the *titlepage-content* element. First read the introduction from:
Hi, I've read that section several times now and it appears there are 3 ways to edit the title properties - customize the titlepage spec file or customize the attribute-set or customize the template
So, it looks like the easiest way to get what I need done is to simply change the font-size in the titlepage spec, as you mention above. This is what I have now -
<t:titlepage t:element="chapter" t:wrapper="fo:block" font-family="{$title.fontset}"> <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}"> <title t:named-template="component.title" param:node="ancestor-or-self::chapter[1]" font-size="&hsize4;" font-weight="bold"/>
The font-size was originally "&hsize5;", but the resulting .pdf file does not reflect the smaller size font in chapter titles, they are still size 5 even though the template is set to size 4 (or 3 or anything).
I'm I interpreting the manual incorrectly?
Hello, Did you include the generated templates in your DocBook customization layer as it is specified in the procedure for the method with the titlepage spec file ? If you don not include them the process of generating the PDF result does not know about them so the chapter titles are not changed in any way.
Regards, chip
Best regards, Sorin