|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Please Help: No TOC after moving to stylesheets version 1.75I 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@... |
|
|
Re: Please Help: No TOC after moving to stylesheets version 1.75Hi,
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@... |
|
|
Re: Please Help: No TOC after moving to stylesheets version 1.75I'd already included the contents of the customization file. Just forgot to remove the include statement. I include 1.75.1 as follows... <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="file://localhost/projects/docbook-xsl-1.75.1/html/chunkfast.xsl"/> ... ... BTW, I had some success. I build our documentation using the xslt task of Ant 1.7.1. The JDK version is 1.6.14. I'm guessing that this would use the built-in trax parser from the JDK. So I used Xalan 2.7.1 by specifying the factory in the xslt task and now the TOC is there! Any clues? I'd really prefer not to have to use Xalan. -- R Bob Stayton wrote: > 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@... |
| Free embeddable forum powered by Nabble | Forum Help |