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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d70cb040-fa23-407b-9dcd-c9edf4b36210n%40googlegroups.com.

Reply via email to