OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: [docbook-apps] Formatting abstract in chapter.titlepage

I created a book with multiple chapters. Each chapter has an abstract.

I wanted the page sequence in the chapter.titlepage to be:
    - Chapter Title
    - Chapter Abstract
    - Chapter ToC

I changed the spec for the chapter.titlepage as:

      t:element    = "chapter"
      t:wrapper    = "fo:block"
      font-family  = "{$title.fontset}">

        t:side       = "recto"
        margin-left  = "{$title.margin.left}">

          t:named-template = "component.title"
          param:node       = "ancestor-or-self::chapter[1]"
          font-size        = "&hsize5;"
          font-weight      = "bold"/>

          space-before     = "0.5em"
          font-style       = "italic"
          font-size        = "&hsize2;"
          font-weight      = "bold"/>

        <abstract />

...and so on ...

However, I still get the sequence as:
    - Chapter Title
    - Chapter ToC
    - Chapter Abstract

After many failed attempts, i tried to format the abstract such that i can
visually separate it from ToC with this customization:

<xsl:attribute-set name="abstract.properties">

    <xsl:attribute name  = "margin-top">0.5in</xsl:attribute>

    <xsl:attribute name  = "margin-left">1.0in</xsl:attribute>
    <xsl:attribute name  = "font-weight">bold</xsl:attribute>

    <xsl:attribute name  = "color">#000044<xsl:attribute>


Here, other than "bold" all attributes seem to be ignored.

I am not really sure where I could be going wrong? 

View this message in context: http://www.nabble.com/Formatting-abstract-in-chapter.titlepage-tp15418997p15418997.html
Sent from the docbook apps mailing list archive at Nabble.com.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]