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


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



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