On Tue, Oct 6, 2009 at 2:38 PM, Olemis Lang <[email protected]> wrote:
> I'll explain what I need to do with an example :
>
>  - I have the following wiki pages
>
>        A/B/C
>        A/B/C/E
>        A/B/C/F
>        A/B/C/G
>        A/B/C/H/I
>        A/B/C/J
>        A/B/D
>
>   - Page A/B doesn't exist
>   - I want to use TOC macro in order to list immediate children of A/B/ i.e.
>
>        A/B/C
>        A/B/D
>
> I've tried many alternatives and I always get all pages in the list.
> Last attempt was
>
> [[TOC(A/B/, depth=1, sectionindex, inline, heading=Hello Superman !)]]
> [[TOC(A/B/, depth=0, sectionindex, inline, heading=Hello Superman !)]]
>
> In this case an error is displayed :-/
>
> [[TOC(A/B/, depth=1, inline, heading=Hello Superman !)]]
>
> Am I doing something wrong ? How could I get exactly what I want ?
>

IOW I'm trying to do one of the following things (the final result
should be the same ;o) :

  - use TOC macro in order to list immediate children of A/B/ (see above ;o)
  - Display page title using TitleIndex macro

In fact I need a combination of both

[[TitleIndex(A/B/, depth=1)]]          ==> Items list
[[TOC(A/B/, depth=1, sectionindex, inline)]]   ==> page titles

Thnx in advance !

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Looking for a technique to create flexible, graphical dashboards ...
- http://feedproxy.google.com/~r/TracGViz-full/~3/71kRhT34BgU/43789

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to