I'd like to draw attention to this PR that's been sitting for about a year due to needed improvements: https://github.com/Jermolene/TiddlyWiki5/pull/4766
By making transclusion into a first-class citizen that TiddlyWiki keeps track of, it would produce an elegant solution for this problem and many others. On Wednesday, June 16, 2021 at 11:20:37 AM UTC-5 David Gifford wrote: > I added this to my "documenting.tw" file: > https://giffmex.org/gifts/documenting.tw.html#Filter%3A%20All%20tagging%20except%20those%20transcluded%20here > > On Wednesday, June 16, 2021 at 9:27:16 AM UTC-5 Si wrote: > >> Hi David, >> >> I've been planning to do something similar in my own wiki. I can't think >> of a way to do it with a single filter expression, but here is a very >> clunky approach: >> >> <$list filter="[tag<currentTiddler>] [tag{!!draft.of}]" >> variable=tagged-tiddler> >> <$vars search-term={{{ [<tagged-tiddler>addprefix[{{]addsuffix[}}]] >> }}}> >> <$list filter="[<currentTiddler>!search<search-term>]"> >> <$link to=<<tagged-tiddler>>><<tagged-tiddler>></$link> >> <br> >> </$list> >> </$vars> >> </$list> >> >> This should work in both edit and view mode, but you can easily simplify >> the first filter expression if you only need it to work in edit mode. >> >> There's probably a more elegant approach out there but this seems to work. >> >> On Tuesday, 15 June 2021 at 15:36:39 UTC+1 David Gifford wrote: >> >>> Hi all >>> >>> I need another list filter: >>> >>> ...minus any tiddlers transcluded in the" current tiddler. >>> >>> Use case: I plan to use transclusions to build long "article" tiddlers, >>> with section headers and specific ordering of the transclusions. But as I >>> take notes, I want to tag note tiddlers with the article(s) they will be >>> transcluded in. >>> >>> So in edit template, I want a list at the bottom of the tiddlers tagged >>> to the current tiddler [all[current]tagging[]], minus the tiddlers I have >>> already transcluded in the current tiddler. That way I can see which >>> tiddlers still need transcluding. >>> >>> Thanks for any help with this. It doesn't look very straightforward. >>> There doesn't seem to be a way to do -[all[current]transcluding[]] yet. >>> Maybe in 5.1.25? >>> >>> Blessings, >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8ca8ae51-49c6-4674-8a2b-0cd11e6bee0fn%40googlegroups.com.

