[pmwiki-users] three table of contents on one page?

Torsten Philipp TorstenPhilipp at gmx.net
Sat Jul 21 08:00:14 CDT 2007


I'd like to include three pages, each having a table of contents [1], on one page, where each of the three pages goes into one column [2]. 

Whereas each table of contents renders properly on each single page, they are all merged into one table of contents that is displayed in the top of the first column (first included page). 
Is there a way to have the three independent tables of content on top of each included page (on top of each column) on one site?

as an illustration:


Page ONE looks like this:

TOC
1. topic one
2. topic two

1. topic one
all is nice and great...

2. topic two
The sun is shining and it's warm...



Page TWO looks like this:

TOC
1. Thema eins
2. Thema zwei

1. Thema eins
Alles ist gut und schön...

2. Thema zwei
Die Sonne scheint und es ist warm...


When I include two pages (actually I want to include three) on one page using the (:include:) markup and the MakeManyColumns I get:



Page MAIN looks like:


TOC
1. topic one
2. topic two
3. Thema eins
4. Thema zwei


1. topic one                            3. Thema eins
all is nice and great...                Alles ist gut und schön...  

2. topic two                            4. Thema zwei 
The sun is shining and it's warm...     Die Sonne scheint, es ist warm...  




But I want Page MAIN to look like this:


TOC
1. topic one                            1. Thema eins
2. topic two                            2. Thema zwei 


1. topic one                            1. Thema eins
all is nice and great...                Alles ist gut und schön...  

2. topic two                            2. Thema zwei 
The sun is shining and it's warm...     Die Sonne scheint, es ist warm... 




Is there any chance I can do something like this and have three independent tables of content on one page?



[1] created with the PageTableOfContents recipe on http://pmwiki.org/wiki/Cookbook/PageTableOfContents

[2] the three columns are made with the MakeManyColumns recipe on http://pmwiki.org/wiki/Cookbook/MakeManyColumns

-- 
Free Music Podcast - http://www.freemusicpodcast.de/

Free Music Wiki - http://www.free-music.uk.pn/


Ob ?

es eine Stille gibt,
die so leise ist,
dass niemand sie hören kann 

GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail



More information about the pmwiki-users mailing list