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

From
Diane Larin <>
Date
2006-10-27T17:09:59+00:00
ID
Thread
Re: [docbook-apps] generating an index with 2 columns
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:

<?xml version='1.0'?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

                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
href="/home/docbook/docbook-xsl/fo/titlepage.templates.xsl"/>

 <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>

</xsl:stylesheet>

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
  


  

  

  

----- Original Message ----- From: "Diane Larin" <>
  

To: <>
  

Sent: Thursday, October 26, 2006 3:13 PM
  

Subject: [docbook-apps] generating an index with 2 columns
  

  

  

  Hello,
    

    

I am generating a pdf version of my docbook document using
docbook-xsl-1.71.1 and XEP-4.7. In the resulting output, the Index page
has one column only. I am using the default titlepage.templates.xsl.
Although the default value for column.count.index is 2, I tried setting
this parameter explicitly to 2 and then 3 with no changes. There is
always one column only. What am I doing wrong?
    

    

Diane Larin
    

INRO
    

    

    

    

    

    

    

---------------------------------------------------------------------
    

To unsubscribe, e-mail: 
    

For additional commands, e-mail: 
    

    

    

    

  
  

  

-- 

  
    

      
      Diane
Larin

Vice-President Operations
      
      
    

    

      
      INRO

5160 Décarie Boulevard, Suite 610

Montréal, Québec, Canada H3X 2H9

tel +1 514-369-2023

fax +1 514-369-2026

      www.inro.ca