docbook-apps

  • 1.  customizing space before refsect elements

    Posted 06-19-2008 20:41
    Hello all,

    I'm looking for a way to modify the spacing before refsect1 titles. I
    found how to do that for section titles (see below).

    Does anybody know how to do that for refsect1 elements (or refsections
    in general) ?

    Thanks in advance,

    Erik Leunissen
    ==============

    <xsl:attribute-set name="section.title.properties">
    <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
    <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
    <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
    </xsl:attribute-set>



  • 2.  Re: [docbook-apps] customizing space before refsect elements

    Posted 06-20-2008 04:21
    You can customize all titles that are not covered by special attribute sets
    by using the titlepage spec file mechanism. It is described in my book:

    http://www.sagehill.net/docbookxsl/HTMLTitlePage.html

    Bob Stayton
    Sagehill Enterprises
    bobs@sagehill.net





  • 3.  Re: [docbook-apps] customizing space before refsect elements

    Posted 06-20-2008 05:38
    Bob Stayton wrote:
    > You can customize all titles that are not covered by special attribute
    > sets by using the titlepage spec file mechanism. It is described in my
    > book:
    >

    Thanks for the pointer (I've got the book here, will check).

    Erik


    > http://www.sagehill.net/docbookxsl/HTMLTitlePage.html
    >
    > Bob Stayton
    > Sagehill Enterprises
    > bobs@sagehill.net
    >
    >
    >


  • 4.  Re: [docbook-apps] customizing space before refsect elements

    Posted 06-23-2008 15:13
    Bob Stayton wrote:
    > You can customize all titles that are not covered by special attribute
    > sets by using the titlepage spec file mechanism. It is described in my
    > book:
    >

    OK, I have adjusted the "space-before" parameters using the titlepage
    spec mechanism like this (example for a refect1 element):