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: Suppressing article toc with generate.toc doesn'twork


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Steinar Bang <sb@dod.no> was heard to say:
| There is the following call to *.toc inside <xsl:template match="article">:
|
|     <fo:flow flow-name="xsl-region-body">
|       <xsl:call-template name="article.titlepage"/>
|       <xsl:if test="$generate.component.toc">
|         <xsl:call-template name="component.toc"/>
|       </xsl:if>
|       <xsl:apply-templates/>
|     </fo:flow>

Oh, that's broken. It should be:

       <xsl:if test="$generate.component.toc != 0">

If you fix that bug, then setting generate.component.toc=0 should do
the trick.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | It is not impossibilities which
http://www.oasis-open.org/docbook/ | fill us with the deepest despair,
Chair, DocBook Technical Committee | but possibilities which we have
                                   | failed to realize.--Robert Mallet
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+L/RlOyltUcwYWjsRAqhuAJ9Wxr3DHHuGVezYOjkxvARkoqGAtQCfRAn4
sGAKTsZw5JkQB/+U7xKT1mA=
=7edr
-----END PGP SIGNATURE-----


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