This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disabling TOC for articles


/ Togan Muftuoglu <toganm@users.sourceforge.net> was heard to say:
| Bingo the following worked :-P
|
| <xsl:param name="generate.toc">
| <!-- disable article toc -->
| /article
| </xsl:param>

I strongly recommend

<xsl:param name="generate.toc">
<!-- disable article toc -->
/article nop
</xsl:param>

instead. The value of the generate.toc parameter is a set of
space-delimited path/value pairs.Just having a path without a value is
going to bite you eventually.

I've updated the documentation to make this more explicit.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com>      | Labor, n. One of the processes by
http://www.oasis-open.org/docbook/ | which A acquires property for
Chair, DocBook Technical Committee | B.--Ambrose Bierce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]