Here's a very simple recursive "tree walk" that shows the entire 
TableOfContents tree:

\define toc-all(here,exclude)
<$list filter="""[title[$here$]tagging[]] $exclude$ -[[$here$]]""">
   <$text text=<<currentTiddler>>/>
   <div style="padding-left:2em;">
       <$macrocall $name="toc-all" here=<<currentTiddler>> 
exclude="""$exclude$ -[[$here$]]"""/>
   </div>
</$list>
\end

<<toc-all TableOfContents>>

Note that it does NOT require multiple macros to do the recursion, and uses 
the dynamically updated "exclude" param to avoid infinite loops.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/493b6cf4-537b-41ec-adb0-72f01be2339c%40googlegroups.com.

Reply via email to