OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: examples and toc


> * Jirka Kosek <wvexn@xbfrx.pm> [2008-06-01 21:49:05 +0200]:
>
> Sam Steingold wrote:
>
>> still no loe:
>> http://clisp.podval.org/impnotes/dffi.html
>
> Sorry, I forgot that section ToCs are handled differently then book/set
> ToCs. Try the following hack:
>
> <xsl:template name="section.toc">
>   <xsl:param name="toc-context" select="."/>
>   <xsl:param name="toc.title.p" select="true()"/>
>
>   <xsl:call-template name="make.toc">
>     <xsl:with-param name="toc-context" select="$toc-context"/>
>     <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
>     <xsl:param name="toc.params" select="'toc example'"/>
>     <xsl:with-param name="nodes"
>                     select="section|sect1|sect2|sect3|sect4|sect5|refentry
>                            |bridgehead[$bridgehead.in.toc != 0]"/>
>
>   </xsl:call-template>
> </xsl:template>
>

this results in many

xsl:call-template: misplaced xsl:param
xsl:call-template: misplaced xsl:param
xsl:call-template: misplaced xsl:param
xsl:call-template: misplaced xsl:param
xsl:call-template: misplaced xsl:param
xsl:call-template: misplaced xsl:param


when I replace
<xsl:param name="toc.params" select="'toc example'"/>
with 
<xsl:with-param name="toc.params" select="'toc example'"/>
the errors are gone, but the loe is still not there:

http://www.clisp.org/impnotes-new/dffi.html


-- 
Sam Steingold (http://sds.podval.org/) on Fedora release 8 (Werewolf)
http://palestinefacts.org http://truepeace.org http://camera.org
http://honestreporting.com http://mideasttruth.com
The early bird may get the worm, but the second mouse gets the cheese.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]