Stuart, The Tiddler $:/core/macros/toc is where the toc macros are defined. However they can be quite complex. However we can see there is an exclude parameter used. Also See https://tiddlywiki.com/#Table-of-Contents%20Macros for the documentation.
Try invoking the TOC macro of your choice with the following format <$macrocall $name="toc-selective-expandable" tag=<<currentTiddler>> exclude="exclusionfilter" /> Where exclusionfilter is where "where the tag count is zero" Personally I would build my own, toc macro for such an example. Regards Tony On Saturday, 5 January 2019 09:47:01 UTC+11, Stuart Amor wrote: > > I am trying to create an itinerary catalogue. l have spent a great deal of > time devising a tag directory structure that will allows me to add > individual item tiddlers into an organised tree. The problem l have is that > I now have a Table of Contents containing a great deal of "empty > directories". l don't want to delete these tags as l will hopefully get > around to adding content to them, but l would like to find away of hiding > these tags from my Table of Contents where the tag count is zero? > > I will try to give you an example: > > Workshop Tools > - Hammers > -- Sledge Hammer > -- Claw Hammer > - Spanner <- Hide this tag from the toc until I have added some tagged > entries > -- 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/c95a959b-c768-425e-b20d-89b6201f4a40%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

