docbook-apps

Re: [docbook-apps] FO long titles on sections

  • 1.  Re: [docbook-apps] FO long titles on sections

    Posted 11-15-2007 23:42
    This is a bug that was fixed by version 1.71.1, caused by this attribute-set in fo/titlepage.xsl:

    <xsl:attribute-set name="section.titlepage.recto.style">
    <xsl:attribute name="keep-together">always</xsl:attribute>
    </xsl:attribute-set>

    The use of "keep-together" without the ".within-column" qualifier implies all keep types, including "keep-together.within-line", which causes the runover. If you want to continue with 1.68.1, then add this to your customization layer:

    <xsl:attribute-set name="section.titlepage.recto.style">
    <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
    <xsl:attribute name="keep-together.within-line">auto</xsl:attribute>
    </xsl:attribute-set>

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net


    ----- Original Message -----
    From: Douglas Wade
    To: docbook-apps@lists.oasis-open.org
    Sent: Thursday, November 15, 2007 12:08 PM
    Subject: [docbook-apps] FO long titles on sections


    In my FO output all my long titles (sect1... sect4) run off the page. What do I set to get them to wrap. I am using, docbook-xsl-1.68.1

    --
    --
    "Experience is that marvelous thing that enables you to recognize a mistake when you make it again."
    -Franklin P. Jones