Ticket #2306 (new defect)

Opened 9 months ago

Last modified 5 months ago

TOC Macro should work with Include Macro

Reported by: jimbydamonk Assigned to: coderanger
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: leho@kraav.com 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

Change History

03/31/08 15:17:58 changed by leho@kraav.com

  • cc set to leho@kraav.com.

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?


Add/Change #2306 (TOC Macro should work with Include Macro)




Change Properties
Action