Re: [oXygen-user] an extra blank page in the .pdf output + a new question

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? Regards, chip

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

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.
Best regards, Sorin
Thanks Sorin, You've been very patient with me. I got it working now. The bit that I found confusing is that the manual is not real clear. It says "That template is located in fo/component.xsl and can be copied and customized to any degree to format a chapter title." The word 'can' should be changed to 'should', as it is it implies it is optional, but as I found out it is not optional, thus it should read "should be copied". At any rate, it works now, and I appreciate your help very much. Regards, Chip
participants (2)
-
Chip Wiegand
-
Sorin Ristache