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: Re: Inclusion of random section in the TOC


I have done this.  We have a book that's a collection of dialog box help.
The users typically go to one of these pages when they click help in our
application, but we don't want the book to show up in any TOC's.  So, we put
role="widget" on the book and added the following template to remove it from
the TOC:

<xsl:template match="book[@role='widget']" mode="toc"/>

Jeff

-----Original Message-----
From: Norman Walsh [mailto:ndw@nwalsh.com]
Sent: Wednesday, November 13, 2002 5:01 PM
To: silviu.ionita@probass.ro
Cc: docbook-apps@lists.oasis-open.org
Subject: DOCBOOK-APPS: Re: Inclusion of random section in the TOC


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

[ Follow-ups to docbook-apps, please ]

/ Adrian Ionita <silviu.ionita@probass.ro> was heard to say:
| It is possible to specify with an attribute (or something else) of the
| <section> element if that section is or isn't included in the TOC?

No.

| It's possible to make this without manual creation of TOC?

Maybe. I guess I'd suggest using role or one of the conditional attributes
on
the section and then customize the stylesheets to skip those sections (or
include them) in the ToC.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | DNA neither cares nor knows. DNA
http://www.oasis-open.org/docbook/ | just is. And we dance to its
Chair, DocBook Technical Committee | music.--Richard Dawkins
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE90sudOyltUcwYWjsRAlmRAJsE2qoNUfU9y2lBKoqWFTAzcXN7HQCglfeo
BXmUPLzOfHScSJ0NpcY4myk=
=mTOg
-----END PGP SIGNATURE-----


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