docbook-apps

  • 1.  FO index title formatting

    Posted 02-26-2014 17:08
    Hi,

    I'm using a two-column setup but I want the second column to start below
    the title, in line with the first column. In other words, I want to
    typeset the title in a single column and have a two-column section
    below. As far as I see, the column count can only be set up by region in
    the page master and both the title and the actual index is part of
    region-body. Is there any way to render it in this way?

    Thanks,
    Gabor Kovesdan



  • 2.  Re: [docbook-apps] FO index title formatting

    Posted 02-26-2014 18:34
    I think what you want is this:
    <xsl:attribute-set name=" component.titlepage.properties ">
    <xsl:attribute name=" span "> all </xsl:attribute>
    </xsl:attribute-set>
    For any sections that are multiple columns, this will put the span all property in the outer fo:block, causing the title to span all columns. I think this is what you want.

    For more, see http://www.sagehill.net/docbookxsl/MultiColumns.html




    ------
    David Goss , Technical Writer
    Frontier Science | www.fstrf.org
    4033 Maple Rd, Amherst, NY 14226
    (716) 834-0900 extension 7218










  • 3.  Re: [docbook-apps] FO index title formatting

    Posted 02-26-2014 22:23
    On 2014.02.26. 19:33, David Goss wrote:
    > I think what you want is this:
    > <xsl:attribute-set name="*component.titlepage.properties*">
    > <xsl:attribute name="*span*">*all*</xsl:attribute>
    > </xsl:attribute-set>
    > For any sections that are multiple columns, this will put the span all
    > property in the outer fo:block, causing the title to span all columns.
    > I think this is what you want.
    >
    > For more, see http://www.sagehill.net/docbookxsl/MultiColumns.html
    Thank you David, this made it! However, the margins of the fo:block of
    this title line were not respected by FOP. In the end, I set up no
    margins on the title line and inserted an empty line below with the
    desired margins to make the actual index content start a bit more below.

    Gabor