On Wednesday, March 9, 2016 at 7:05:30 PM UTC-8, Andy Pastuszak wrote: > > Right now, I don't have any links in my Tiddlywiki. Just a bunch of > tagged tiddlers. When I put in a <<toc>>, it doesn't generate anything. >
To generate a Table of Contents "tree" outline from individual tiddlers. start by picking a tag to use as the "root tag" of your toc tree. Any tiddlers tagged with the root tag will appear at the top level of the toc tree. To create additional levels, just create new tiddlers and tag each of them with the title of a tiddler already in the tree, and those tiddlers will appear as a level below that existing tiddler. To display the Table of Contents, write <<toc ROOTTAG>> where ROOTTAG is the tag you chose for your starting point. NOTE: be very careful not to tag a tiddler with the name of one of it's "children", or you will create an infinite recursion loop, where a tiddler is it's own "grandchild". If this happens, the <<toc>> macro keeps trying to render deeper and deeper into a never ending tree, and the entire document become non-responsive and you have to wait for it to timeout and then reload the whole window (without being able to save first). You can avoid this problem simply by making sure that all the tags in your toc tree form a clean hierarchy, a top-down "tagsonomy", without any cycles. hope this helps, enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios InsideTiddlyWiki: The Missing Manuals -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fbbfa954-5abd-46f7-ab41-44f8f16adce9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

