This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Generating a TOC for a single <refentry>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
/ Kevin.Ruscoe@ubsw.com was heard to say:
| Hi
|
| I would like to generate a TOC for a single <refentry>. This TOC would need entries for at least:
| * Name
| * Synopsis
| * All of the <refsection>'s.
| * All of the <refsect1..n>, I guess. (However, now that DocBook XSL v1.55.0 supports <refsection>'s, I would personally use those instead.)
|
| Does anybody know of a customisation to do this?
Where do you want the ToC to occur? A refentry usually looks like this:
Name
Also Minimal ? Another test of a minimal RefEntry
Description
This is a minimal RefEntry.
Subsection
This is a minimal RefEntry.
Sub-subsection
This is a minimal RefEntry.
More Description
This is a not-so minimal RefEntry.
Even More Description
This is an even less minimal RefEntry.
Putting the ToC before the "Name" seems like it would be confusing. Putting it
before the "Description" is a possibility, I suppose...
Be seeing you,
norm
- --
Norman Walsh <ndw@nwalsh.com> | A book is like a garden carried in
http://www.oasis-open.org/docbook/ | the pocket--(Arabic)
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE9k54NOyltUcwYWjsRAtwaAJ9hZzQW655MjDCBgVGUM28rXqL0WwCfbWRi
/8by0nCEpn3s8IqUV6KY6QM=
=8xT+
-----END PGP SIGNATURE-----