Is there any method to check all tiddlers are listed in Table of Contents?
179 views
Skip to first unread message
Changhoon Lee
unread,
Aug 23, 2015, 9:30:53 PM8/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
I am quite new to tiddlywiki
I use one root tag called 'Library' for Table of Contents. I want to know if there is a method to check all my tiddlers are listed at least one time in my <<toc "Library">> macro.
Regards,
Lee
Jed Carty
unread,
Aug 24, 2015, 6:54:59 AM8/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
At the moment I don't think there is a way to do this.
It requires the output of nested filters to all be added to the same list. This comes up every so often in what I do so eventually I may get around to making something that lets you do it.
Changhoon Lee
unread,
Sep 1, 2015, 8:56:07 AM9/1/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tiddl...@googlegroups.com
Well, I used MS Excel for workaround.
Basically, I copied table of contents to exel and deleted all duplicated items and sorted in alphabetical order. Then, I compared all tiddler (in MoreSidebar) to check if all tiddlers are listed in my toc
I hope this would help those who are looking for similar function and I hope this kind of function will be updated in future version!
Regards,
2015년 8월 24일 월요일 오전 11시 30분 53초 UTC+10, Changhoon Lee 님의 말:
HowardM
unread,
Sep 2, 2015, 12:22:45 AM9/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi
I think Jed is right that there is no general method, but I find this works for me in practice (using your Library as the top tag).
- the $list filter "[all[tiddlers]!prefix[$]] -[[Library]] -[[Library]tagging[]] -[[Libary]tagging[]tagging[]]" will list all the ordinary tiddlers not in the top two layers of the ToC - you then add extra terms to the filter if your ToC is deeper than this, each new term being created by adding an extra tagging[] (immediately before the last bracket) to the previous last term
You don't have to know beforehand how deep your ToC is, you just examine the output of the filter and, for each tiddler listed, add it to the ToC if it has been omitted or add another term to the filter if the tiddler is in the ToC but the filter has not identified this.
Hope this helps
Howard
HowardM
unread,
Sep 2, 2015, 4:12:43 AM9/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi Changoon
Slight amendment to my previous reply - it assumed the ToC is headed by a tiddler called "Library". If Library is just a tag then you just have to replace every occurrence of [Library] in the suggested filter with tag[Library].
Hope this works for you
Howard
On Monday, August 24, 2015 at 2:30:53 AM UTC+1, Changhoon Lee wrote:
Changhoon Lee
unread,
Sep 2, 2015, 6:40:09 AM9/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
It works beautifully. Just like what I want to do. Thank you so much!
2015년 9월 2일 수요일 오후 2시 22분 45초 UTC+10, HowardM 님의 말:
Tobias Beer
unread,
Sep 23, 2015, 8:49:01 AM9/23/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TiddlyWiki
Hi Howard,
Slight amendment to my previous reply - it assumed the ToC is headed by a tiddler called "Library". If Library is just a tag then you just have to replace every occurrence of [Library] in the suggested filter with tag[Library].
That ain't an option, Library is just the root for a table of contents, so you don't want every tiddler that's in it be tagged "Library".
This (sorry, but badly documented) filter I once made a pull request for could eventually do it, provided negation was also added to it...