This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Generate TOCs above current section
- From: Tristan Fiedler <fiedler at cshl dot edu>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 13 Dec 2004 15:42:17 -0500
- Subject: [docbook-apps] Generate TOCs above current section
Hi All,
After carefully studying Bob Stayton's excellent tutorial :
http://www.sagehill.net/docbookxsl/TOCcontrol.html
I am still unclear how I can generate a TOC for each page in a
'chunked' html output, where each TOC shows the complete TOC for the
article, not just sub-sections of the current section. I am using only
<sect1> elements, since all sections are equivalent.
For example,
<article>
<sect1> fun stuff in section 1 </sect1>
<sect1> fun stuff in section 2 </sect1>
<sect1> fun stuff in section 3 </sect1>
<sect1> fun stuff in section 4 </sect1>
</article>
Now, when the user is viewing the page which shows :
'fun stuff in section 3'
I would like a TOC to be displayed which shows the entire 'article',
ie, all the sections.
Cheers,
Tristan
------------------------------
Tristan J. Fiedler
Postdoctoral Fellow - Stein Lab
Cold Spring Harbor Laboratory