← Prev in month ← Prev in thread

About preface title customization

From
Kacques Goucry
Date
2008-01-20T18:38:26+00:00
ID
Thread
About preface title customization
Hello,

I successfully customize my chapter title with those custom stylesheet :

     <xsl:attribute-set name="chap.title.properties">
         <xsl:attribute name="color">
             <xsl:value-of select="$title.color"/>
         </xsl:attribute>
         <xsl:attribute name="font-weight">bold</xsl:attribute>
         <xsl:attribute name="text-align">right</xsl:attribute>
         <xsl:attribute name="font-size">58pt</xsl:attribute>
         <xsl:attribute name="hyphenate">false</xsl:attribute>
     </xsl:attribute-set>

and

     <xsl:template match="d:title"  
mode="chapter.titlepage.recto.auto.mode">
         <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
             xsl:use-attribute-sets="chapter.titlepage.recto.style"
             margin-left="{$title.margin.left}">
             <xsl:call-template name="chapappendix.title">
                 <xsl:with-param name="node" select="ancestor-or- 
self::d:chapter[1]"/>
             </xsl:call-template>
         </fo:block>
     </xsl:template>

I read ont Bob's book (third edition) that appendix, article,  
glossary, bibliography, preface, index, dedication and colophon are  
processed like chapter titles.

But my preface title use another font size, is left align and other  
things.

What can I do to make all my title use the same behavior ?

Thanks in advance,
Jacques
-- 
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>
← Prev in month ← Prev in thread