Changes between Initial Version and Version 4 of Ticket #10638


Ignore:
Timestamp:
Mar 22, 2013 1:50:52 AM (19 months ago)
Author:
rjollos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10638

    • Property Trac Release changed from to 0.12
    • Property Owner changed from anybody to osimons
    • Property Component changed from Request-a-Hack to TocMacro
  • Ticket #10638 – Description

    initial v4  
    1 The existing TOC macro (http://trac-hacks.org/wiki/TocMacro) uses the headline (h1 to h6) to create the table of contents. This results in a very confusing toc structure, because a headline h1 on a page on the 3rd level will be displayed on the first level of the toc. 
     1The existing TOC macro (TocMacro) uses the headline (h1 to h6) to create the table of contents. This results in a very confusing toc structure, because a headline h1 on a page on the 3rd level will be displayed on the first level of the toc. 
    22 
    33Page structure with used headlines on the page: 
     
    1818}}} 
    1919 
    20 My plannes for an improved macro are to focus the toc creation on the url. 
    21 So the resulting TOC should look likes this. 
     20My planns for an improved macro are to focus the toc creation on the url. So the resulting TOC should look likes this. 
    2221 
    2322{{{ 
     
    3130So what should the macro do? 
    3231 
    33 - create the toc structure based on the url structure[[BR]] 
    34 - use the first headline on each page as text for the toc entry[[BR]] 
    35 - allow the user to specify the depth of the toc[[BR]] 
    36  
     32 - create the toc structure based on the url structure[[BR]] 
     33 - use the first headline on each page as text for the toc entry[[BR]] 
     34 - allow the user to specify the depth of the toc[[BR]] 
    3735 
    3836Thanks for your help