docbook-apps

  • 1.  About preface title customization

    Posted 01-20-2008 18:38
    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>




  • 2.  Re: [docbook-apps] About preface title customization

    Posted 01-22-2008 20:20
    Hi Jacques,
    In the original titlepage.templates.xml specification file, you will see
    that chapter, appendix, preface, and other elements specify using:



  • 3.  Re: [docbook-apps] About preface title customization

    Posted 01-23-2008 22:34
    On 22 janv. 08, at 21:19, Bob Stayton wrote:

    > In the original titlepage.templates.xml specification file, you will
    > see that chapter, appendix, preface, and other elements specify using:
    >
    >