docbook-apps

  • 1.  Re: [docbook-apps] generating an index with 2 columns

    Posted 10-26-2006 23:48
    Hi Diane,
    Are you using a customization layer? I'm not able to duplicate this
    problem. It has to do with the page master selection, as well as the
    $column.count.index parameters, which is 2 by default.

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net





  • 2.  Re: [docbook-apps] generating an index with 2 columns

    Posted 10-27-2006 17:10
      |   view attached
    Hi,

    Here is what I do/use:

    xsltproc -o welcome.fo \
    --stringparam target.database.document "../olinkdb-pdf.xml" \
    --stringparam current.docid "Welcome" \
    ../myprint.xsl welcome.xml
    xep -quiet -fo welcome.fo -pdf ../pdf/welcome.pdf

    Contents of myprint.xsl:


    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"></xsl:stylesheet>
    xmlns:fo="http://www.w3.org/1999/XSL/Format"
    xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
    exclude-result-prefixes="doc"
    version='1.0'>
    <xsl:import href="/home/docbook/docbook-xsl/fo/docbook.xsl"></xsl:import>
    <xsl:import href="/home/docbook/docbook-xsl/fo/titlepage.templates.xsl"></xsl:import>
    <xsl:param name="xep.extensions">1</xsl:param>
    <xsl:param name="graphic.default.extension">png</xsl:param>
    <xsl:param name="body.font.master">12</xsl:param>



    Diane

    Bob Stayton wrote:
    > Hi Diane,
    > Are you using a customization layer? I'm not able to duplicate this
    > problem. It has to do with the page master selection, as well as the
    > $column.count.index parameters, which is 2 by default.
    >
    > Bob Stayton
    > Sagehill Enterprises
    > DocBook Consulting
    > bobs@sagehill.net
    >
    >
    >