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]

[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


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