Next in thread → Next in month →

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

From
Bob Stayton <>
Date
2008-06-17T17:40:56+00:00
ID
CB20D454F2C547AE9A471C4C2BAE0A8F@sheeta
Thread
Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)
Actually, that's what I'm using.  I don't understand why it isn't working 
for you.  Here is my small customization layer:

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                version="1.0">

<xsl:import href="../docbook-xsl-1.74.0/fo/docbook.xsl"/>

<xsl:param name="generate.toc">
appendix  toc,title
article   nop
article/appendix   toc,title
book      nop
chapter   nop
part      nop
preface   nop
qandadiv  nop
qandaset  nop
reference nop
section   nop
set       nop </xsl:param>

</xsl:stylesheet>


Bob Stayton
Sagehill Enterprises



----- Original Message ----- 
From: "Erik Leunissen" <>
Cc: "Bob Stayton" <>; <>
Sent: Tuesday, June 17, 2008 10:31 AM
Subject: Re: [docbook-apps] How to generate TOC for article/appendix (using 
FOP)


> Erik Leunissen wrote:
>
>>
>> Thanks a lot for checking this. I'm indeed using 1.74.0. (and fop 0.94),
>>
>> Could it be that the xsl processor matters? I'm using xslt.
>>
>
> Oh, that was inaccurate. That should be:
>
>> xsltproc --version
> Using libxml 20626, libxslt 10117 and libexslt 813
> xsltproc was compiled against libxml 20626, libxslt 10117 and libexslt 813
> libxslt 10117 was compiled against libxml 20626
> libexslt 813 was compiled against libxml 20626
>
>
> Erik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 
> For additional commands, e-mail: 
>
>
>
Next in thread → Next in month →