On Sep 27, 2006, at 6:02 PM, Thomas Moschny wrote:

>
> On Wednesday 27 September 2006 20:32 Noah Kantrowitz wrote:
>> TracNav parses the text of the TOC page directly, so no, you cannot
>> do that.
>
> Well, that's not the complete story. The TracNav plugin has a  
> (currently
> hardcoded) list ALLOWED_MACROS, and if you add "subwiki" to that  
> list, your
> example will almost work:
>
>>>  * Use Cases
>>>    [[SubWiki(UseCases/,1)]]

Interesting.  I'll give that a shot and see what happens.

>
> You additionally have to add a star before the last line:
>
>  * Use Cases
>    * [[SubWiki(UseCases/,1)]]
>
> as TracNav parses the toc line-by-line and discards that line  
> before even
> executing the macro, because it considers only lines starting with  
> whitespace
> followed directly by a star.

Hmmm.  This is the part that may not work.  SubWiki() outputs an  
unordered list of its own so if I add the preceeding asterisk the  
SubWiki() output is nested two levels down instead of just one.   
Nonetheless, I'll play with it and see what I can do.

Thanks for the suggestion.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to