« Return to Thread: Please Help: No TOC after moving to stylesheets version 1.75

Re: Please Help: No TOC after moving to stylesheets version 1.75

by Bob Stayton :: Rate this Message:

Reply to Author | View in Thread

Hi,
I don't see anything in the list of params that would cause that behavior,
and testing them with a sample file produced HTML output with a TOC.
However, there is also this line that includes other customizations that you
did not post:

<xsl:include href="celoxis-customizations.xsl"/>

I also don't see how you are importing the 1.75.1 stylesheet.  Can you
provide more details?

Bob Stayton
Sagehill Enterprises
bobs@...


----- Original Message -----
From: "Ravindra Wankar" <rwankar@...>
To: <docbook-apps@...>
Sent: Wednesday, June 24, 2009 5:07 AM
Subject: [docbook-apps] Please Help: No TOC after moving to stylesheets
version 1.75


>
> I posted this before but didn't get a reply. I'd appreciate any clues.
> Works fine with 1.71.1 with the following customizations. Now I get an
> empty TOC with version 1.75.1. This happens only in the HTML output. Works
> fine with PDF.
>
> Thanks,
> -- Ravi
>
> <xsl:param name="section.autolabel" select="'1'"/>
> <xsl:param name="section.autolabel.max.depth" select="'3'"/>
> <xsl:param name="section.label.includes.component.label" select="'1'"/>
> <xsl:param name="use.extensions" select="'0'"/>
> <xsl:param name="fop.extensions" select="'0'"/>
> <xsl:param name="fop1.extensions" select="'1'"/>
> <xsl:param name="xref.with.number.and.title" select="1"/>
> <xsl:param name="insert.xref.page.number" select="'1'"/>
> <xsl:param name="variablelist.as.blocks" select="'1'"/>
> <xsl:param name="suppress.header.navigation" select="0"/>
> <xsl:param name="generate.section.toc.level" select="1"/>
> <xsl:param name="toc.section.depth" select="2"/>
> <xsl:param name="admon.graphics" select="1"></xsl:param>
> <xsl:param name="annotate.toc">0</xsl:param>
> <xsl:param name="formal.procedures" select="0"></xsl:param>
> <xsl:attribute-set name="xref.properties">
>   <xsl:attribute name="text-decoration">underline</xsl:attribute>
>   <xsl:attribute name="color">blue</xsl:attribute>
> </xsl:attribute-set>
> <xsl:param name="local.l10n.xml" select="document('')"/>
> <l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
>   <l:l10n language="en">
>     <l:context name="xref-number-and-title">
>       <l:template name="sect3" text="%t (Section %n)"/>
>       <l:template name="section" text="%t (Section %n)"/>
>       <l:template name="chapter" text="%t (Chapter %n)"/>
>     </l:context>
>   </l:l10n>
> </l:i18n>
> <xsl:param name="formal.title.placement">
>   figure after
> </xsl:param>
>
> <xsl:param name="menuchoice.menu.separator">→</xsl:param>
>
> <xsl:param name="generate.toc">
> appendix  nop
> article   toc,title
> book      toc,title,figure,table,example,equation
> chapter   toc,title
> part      nop
> preface   nop
> qandadiv  nop
> qandaset  nop
> reference toc,title
> section   toc,title
> set       toc
> </xsl:param>
>
> <xsl:param name="admon.graphics.path">../../images/</xsl:param>
> <xsl:output method="html" encoding="UTF-8" indent="no"/>
> <xsl:include href="celoxis-customizations.xsl"/>
> <xsl:param name="html.stylesheet" select="'../../style.css'"/>
> <xsl:param name="use.id.as.filename" select="'1'"/>
> <xsl:param name="section.autolabel.max.depth" select="2"></xsl:param>
> <xsl:param name="chunk.section.depth" select="'2'"/>
> <xsl:param name="chunk.first.sections" select="'2'"/>
> <xsl:param name="chunk.fast" select="'1'"/>
> <xsl:param name="chunk.quietly" select="'0'"/>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@...
> For additional commands, e-mail: docbook-apps-help@...
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@...
For additional commands, e-mail: docbook-apps-help@...

 « Return to Thread: Please Help: No TOC after moving to stylesheets version 1.75