← Prev in month ← Prev in thread

Generate TOCs above current section

From
Tristan Fiedler <>
Date
2004-12-13T20:42:24+00:00
ID
Thread
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
← Prev in month ← Prev in thread