Modify

Opened 16 years ago

Last modified 9 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 16 years ago by lkraav

Cc: lkraav added; anonymous removed

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?

comment:2 Changed 9 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.