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] | [Elist Home]

Subject: RE: DOCBOOK-APPS: 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"/>


-----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

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?


| 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
the section and then customize the stylesheets to skip those sections (or
include them) in the ToC.

                                        Be seeing you,

- -- 
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
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>


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

Powered by eList eXpress LLC