On Wed, 18 Apr 2007, Patrick R. Michaud wrote:

Shorter:

This seems useful... here's a modified version (untested though) that I assume goes into <group>.GroupHeader.

        (:if expr ! equal "{*$:toc}" "no" :)(:*toc:)(:ifend:)

Using this, all pages that do _not_ contain the following line

        (:toc: no:)

will get a table of contents. Very neat, and you don't have to use the description variable. As for Main.HomePage, you just add

        (:toc: no:)

to it.

I think this tip/technique should be added somewhere, but I'm not sure where.

/Christian

PS. pmwiki.org was very slow this morning, i.e. about 10:00 CET.

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to