Modify

Opened 8 years ago

Last modified 7 years ago

#1034 new enhancement

Titleindex and TOC combination

Reported by: piotr@… Owned by: athomas
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Would be really great if titleindex could produce similar looking list like normal TOC but reflecting the pages structure. For example when I have pages:

  • Section1/Page1
  • Section1/Page2
  • Section1/Page3
  • Section2/Page1
  • Section2/Page2

Would be nice to see it as a TOC:

  • Section1
    • Page1
    • Page2
    • Page3
  • Section2
    • Page1
    • Page2

Attachments (0)

Change History (3)

comment:1 in reply to: ↑ description Changed 7 years ago by anonymous

Replying to piotr@wayn.com:

Would be really great if titleindex could produce similar looking list like normal TOC but reflecting the pages structure. For example when I have pages:

  • Section1/Page1
  • Section1/Page2
  • Section1/Page3
  • Section2/Page1
  • Section2/Page2

Would be nice to see it as a TOC:

  • Section1
    • Page1
    • Page2
    • Page3
  • Section2
    • Page1
    • Page2

I agree.

comment:2 follow-up: Changed 7 years ago by azerttyu

Hi

My pb looks near this topic. I try do a TOC on all subpages in combination titleindex.

If i do
[[TOC( Documentation/Administrateur/*, inline, notitle, noheading, depth=99)]]

then i obtain
Error: Page Documentation/Administrateur/* does not exist

But if i rename a subpage in Documentation/Administrateur/* then the error disappear

The wildcard don't look its job

comment:3 in reply to: ↑ 2 Changed 7 years ago by osimons

Replying to azerttyu:

My pb looks near this topic. I try do a TOC on all subpages in combination titleindex.
[[TOC( Documentation/Administrateur/*, inline, notitle, noheading, depth=99)]]

Not really the same problem (or nearly) - create a new ticket next time unless they are in fact the same issue.

That said, as discussed on #trac, you have the 0.10 version of the macro, trying to use a wildcard feature that is only available for the 0.11 version.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.