docbook-apps

  • 1.  Re: [docbook-apps] Body Start Indent and Chapter/Section Title Indent

    Posted 03-21-2007 03:56
    The start-indent="$body.start.indent" property is applied to the fo:flow
    within each page-sequence. In is an inherited property, so every block in
    the flow inherits it. In the case of the chapter and section titles, there
    is a local attribute setting that counteracts it. You can change that back
    in a couple of attribute-sets:

    <xsl:attribute-set name="component.title.properties">
    <xsl:attribute name="start-indent"><xsl:value-of
    select="$body.start.indent"/></xsl:attribute>
    </xsl:attribute-set>

    <xsl:attribute-set name="section.title.properties">
    <xsl:attribute name="start-indent"><xsl:value-of
    select="$body.start.indent"/></xsl:attribute>
    </xsl:attribute-set>

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] Body Start Indent and Chapter/Section Title Indent

    Posted 03-21-2007 14:04
    Thanks Bob that worked quite well. That's exactly what I wanted. Why
    wasn't that one of the <xsl:param> settings. Maybe it should be
    up-front. Anyways, thanks again for your help.

    On Tue, 2007-03-20 at 19:55 -0800, Bob Stayton wrote:
    > The start-indent="$body.start.indent" property is applied to the fo:flow
    > within each page-sequence. In is an inherited property, so every block in
    > the flow inherits it. In the case of the chapter and section titles, there
    > is a local attribute setting that counteracts it. You can change that back
    > in a couple of attribute-sets:
    >
    > <xsl:attribute-set name="component.title.properties">
    > <xsl:attribute name="start-indent"><xsl:value-of
    > select="$body.start.indent"/></xsl:attribute>
    > </xsl:attribute-set>
    >
    > <xsl:attribute-set name="section.title.properties">
    > <xsl:attribute name="start-indent"><xsl:value-of
    > select="$body.start.indent"/></xsl:attribute>
    > </xsl:attribute-set>
    >
    > Bob Stayton
    > Sagehill Enterprises
    > DocBook Consulting
    > bobs@sagehill.net
    >
    >
    >