\define each-level(filter)
<$list filter="$filter$" variable=nul>
[[$(currentTiddler)$]]<br>
</$list>
<$list filter="[is[current]tagging[]]">
<<each-level $filter$>>
</$list>
\end
\define list-toc(tiddlername filter)
<$tiddler tiddler="$tiddlername$">
<$list filter="[is[current]tagging[]]">
<<each-level $filter$>>
</$list>
</$tiddler>
\end
<<list-toc TableOfContents "[is[current]!tag[test]]">>\define each-child(filter)
[[$(currentTiddler)$]]<br>
<$list filter="[parent[$(currentTiddler)$]]">
<<each-child $filter$>>
</$list>
\end
\define list-tocP(tiddlername)
<$tiddler tiddler="$tiddlername$">
[[$tiddlername$]]<br>
<$list filter="[parent[$tiddlername$]]">
<<each-child>>
</$list>
</$tiddler>
\end
<<list-tocP "New Home">>
Regards
Tony
<<list-toc Features "[is[current]tag[Mechanisms]]">><<list-toc Features "[is[current]tag[Drag and Drop]]">>Sorry, I made an assumption I should not have.
The filter can be extended for your use case, you just need to learn the extra steps.
On tiddlywiki.com it says how a filter can be a list of tiddlers "tiddlera [[tiddler b]] tiddler3" but each of these can be a things like [tag[tagname]. And you can exclude items at the end with -[[tiddlername]] or use +[tag[tagname]] and more
When I am on my desktop tomorrow I can generate one for your use case
Tony
\define each-level()
[[$(currentTiddler)$]]<br>
<$list filter="[is[current]tagging[]]">
<<each-level>>
</$list>
\end
\define list-toc(tiddlername)
<$tiddler tiddler="$tiddlername$">
<$list filter="[is[current]tagging[]]">
<<each-level>>
</$list>
</$tiddler>
\end
<<list-toc Filters>>\define each-level(filter)
<$list filter="$filter$" variable=nul>
[[$(currentTiddler)$]] "$filter$"<br>
</$list>
<$list filter="[is[current]tagging[]]">
<<each-level "$filter$">>
</$list>
\end
\define list-toc(tiddlername filter)
<$tiddler tiddler="$tiddlername$">
<$list filter="[is[current]tagging[]]">
<<each-level "$filter$">>
</$list>
</$tiddler>
\end<<list-toc Features "[all[current]tag[Drag and Drop]] [all[current]tag[Mechanisms]] [all[current]tag[Features]]">><$list filter="[[all[current]tag[Drag and Drop]] [all[current]tag[Mechanisms]] [all[current]tag[Features]]">
</$list>[[$(currentTiddler)$]]<br>[[$(currentTiddler)$]] : {{!!tags}}<br><<list-toc TableOfContents "[all[current]]">>[kindred:<direction>[<field>]][[Drag and Drop]kindred:up[]][[Drag and Drop]kindred:down[]][[Drag and Drop]kindred[]][[TableOfContents]kindred[list]][[Filters]kindred[]] +[[Learning]kindred[]]
[tag[Filters]] +[tag[Learning]]That look realy cool, I wish I could write filter operators.
You do some advanced stuff in this community.
I will try it out in time. Im travling interstate for a few days. It sounds like a great tool for heirachies and geneological trees.
I think you may know this but just in case and for other readers,
In the filter examples I gave the OR was given by a list of tag filters surrounded with [ ] and seperated by spaces, the AND opperation is when you dont have spaces between them resulting in less brackets.
[is[current]tag[tag1]tag[tag2]!tag[tag3]]
Noting of course in this I am saying
The current tiddler has the tag tag1 And the tag2 And not the tag3
REGARDS
Tony
You do some advanced stuff in this community.
[kindred:<field>[<tiddler_from_family>]]
[kindredup:<field>[<tiddler_from_family>]]
[kindreddown:<field>[<tiddler_from_family>]]