Hi All (and Jeremy in particular :-) ),
I am trying to use <<toc>> as I already have many topics tagged properly.
I see that on the website the table of contents does not open tiddlers for 
the topmost items (I see it is not built by <<toc>>), e.g. Guide, 
Introduction, etc. In effect - it's all expandable items.
This looks OK as these stand only for organizational purpose. And I would 
like to build my toc in the same way.
I already have many of my tiddlers properly tagged. However I see that I 
must create my tags as tiddlers for this to work, as seen in the toc macros 
documentation - First, Second, etc.
But all of this means that I must convert my tags to tiddlers, which means 
creating "artificial" tiddlers. I don't really want to put anything inside 
them, except for using them as toc grouping items.
Furthermore I have to rename my tags to look properly readable as they 
appear with its real name in the toc.
For example, the tag 'var' should be properly renamed to 'Variables'. And 
this means changing all tags in all my tiddlers.

I will show how I imagined putting my toc together, using the example from 
tiddlywiki.com:

<div class='tw-table-of-contents'>
<<toc 'Chapter 1|First'>>
<<toc 'Chapter 2|Second'>>
<<toc 'Chapter 3|Third'>>
</div>

, presuming I have tags First, Second, Third, which are not converted to 
full-scale tiddlers. So clicking on "Chapter 1" would not open a tidler, 
but instead expand the items in the contents tree.
In the above example I also show how to combine several tocs into one tree.

Of course, there would be the possibility to put up a container top-level 
tiddler called Contents that would contain the name of these 3 tags.
In this case the contents would look like this:

<div class='tw-table-of-contents'>
<<toc 'Contents'>>
</div>

What do you think?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to