Modify ↓
Opened 17 years ago
Last modified 10 years ago
#2306 new defect
TOC Macro should work with Include Macro
Reported by: | Mike Buzzetti | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | TocMacro |
Severity: | normal | Keywords: | |
Cc: | lkraav | Trac Release: | 0.10 |
Description
I have a main page called Main. Main has the TOC macro. Works great. The problem comes when I include subpage into Main page. The TOC Macro does note pick up the headings in the include page.
Let say I had something like this on the main page. Main TOC(Somepages)
Heading 1
stuff stuff stuff Include(wiki:SubPage?)
SubPage
SubPageHeading
stuf stuff stuff.
I would like the Toc to have SubPageHeading in it
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by
Cc: | lkraav added; anonymous removed |
---|
comment:2 Changed 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
Note: See
TracTickets for help on using
tickets.
thank you jim for opening this, i'm in the exact same spot!
i am combining a page with several wikiincludes and using CSS to get nice automating paragraph numbering on everything. but it only works if i specify the exact page that has the real text. TOC cannot display any headings from a page that is wikiincluding others.
i'm going to look at the code to see if i can figure it out on my own, perhaps coderanger could give me some tips if he doesnt have the time to do it himself? is this even doable at all?