| 215 | |
| 216 | |
| 217 | === TOC === |
| 218 | |
| 219 | This macro adds the ability to create table of contents on any set of pages. If |
| 220 | a page is not specified, the current page and version is used. |
| 221 | |
| 222 | The table of contents is automatically generated from headings in the page. |
| 223 | |
| 224 | Usage: |
| 225 | |
| 226 | Table of contents for the current page and version: |
| 227 | |
| 228 | {{{ |
| 229 | [[TOC]] |
| 230 | }}} |
| 231 | |
| 232 | Table of contents for multiple pages: |
| 233 | |
| 234 | {{{ |
| 235 | [[TOC(WikiStart, WikiFormatting)]] |
| 236 | }}} |
| 237 | |
| 238 | ''Download:'' http://svn.swapoff.org/trachacks/wiki/TocMacro |
| 239 | [[BR]]''By:'' Alec Thomas <trac-form@swapoff.org> |
| 240 | [[BR]]''Version:'' >= 0.7.1 (requires patch available at http://svn.swapoff.org/trachacks/wiki/AnchorPatch) |
| 241 | |
| 242 | |
| 243 | [[BR]]A modified (improved?) version of TOC is available. Modifications are : |
| 244 | * correct handling of parameters (like ''inline'') when no page is explicitly specified (means current page) |
| 245 | * Suppress level 1 header when the TOC for the current page (no page specified in parameters) is displayed. |
| 246 | |
| 247 | ''Download:'' |
| 248 | http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/TOC.2.py |
| 249 | [[BR]]''By:'' Michel Jouvin <jouvin@lal.in2p3.fr> |
347 | | === TOC === |
348 | | |
349 | | This macro adds the ability to create table of contents on any set of pages. If |
350 | | a page is not specified, the current page and version is used. |
351 | | |
352 | | The table of contents is automatically generated from headings in the page. |
353 | | |
354 | | Usage: |
355 | | |
356 | | Table of contents for the current page and version: |
357 | | |
358 | | {{{ |
359 | | [[TOC]] |
360 | | }}} |
361 | | |
362 | | Table of contents for multiple pages: |
363 | | |
364 | | {{{ |
365 | | [[TOC(WikiStart, WikiFormatting)]] |
366 | | }}} |
367 | | |
368 | | ''Download:'' http://svn.swapoff.org/trachacks/wiki/TocMacro |
369 | | [[BR]]''By:'' Alec Thomas <trac-form@swapoff.org> |
370 | | [[BR]]''Version:'' >= 0.7.1 (requires patch available at http://svn.swapoff.org/trachacks/wiki/AnchorPatch) |
371 | | |
372 | | |
373 | | [[BR]]A modified (improved?) version of TOC is available. Modifications are : |
374 | | * correct handling of parameters (like ''inline'') when no page is explicitly specified (means current page) |
375 | | * Suppress level 1 header when the TOC for the current page (no page specified in parameters) is displayed. |
376 | | |
377 | | ''Download:'' |
378 | | http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/TOC.2.py |
379 | | [[BR]]''By:'' Michel Jouvin <jouvin@lal.in2p3.fr> |
380 | | |
381 | | |