local Table of Contents

It would be nice if it was possible to use Table of Contents macro to create a "local table of contents", deep within a document. Example:

[[TableOfContents]] // first table
= paragraph 1 =
== p1a ==
== p1b ==
= p2 =
[[TableOfContents]] // second table of contents (local)
== p2a ==
=== p2a'
=== p2a''
== p2b ==
== p2c ==
= p3 =
= p4 =

Second table of contrents would display something like this:

So in brief, it displays everything within the current "heading level" (looks for the las header and displays the structure until an equally or more important header appears in the code).

better rendering of Table of Contents

It's just much clearer when a full "path" is displayed. vide: wikipedia (for example http://en.wikipedia.org/wiki/Legia ). So instead of:

 1. alpha
  1. alpha one
  2. alpha two
  3. alpha three
 2. beta
  1. beta one
 3. gamma

Moin would display:

 1. alpha
  1.1. alpha one
  1.2. alpha two
  1.3. alpha three
 2. beta
  2.1. beta one
 3. gamma

MoinMoin: MateuszMucha/Ideas (last edited 2007-10-29 19:22:37 by localhost)