Explanation: I will have tiddler titles like
Booktitle (Authorlastname) ch 1 p 34 /i/ Matthew 24, NT use of OT
Everything before /i/ has to do with the source. Everything after has to do with the topic.
I would like the tiddler Matthew to list all tiddlers that contain Matthew
anywhere after /i/
but not before, and for the tiddler NT use of OT
to list all tiddlers that contain NT use of OT
anywhere after ‘/i/’ but not before.
I got to <$list filter="[search::literal[/i/]search:title<currentTiddler>!search:title[/n/]sort[title]] -[is[current]]>
but this searches anywhere in the tiddler title. This would include tiddlers where the word Matthew
is found before /i/. I would like to avoid this, as I will certainly have sources that include the word Matthew.
I could have it search for the string “/i/ plus current tiddler” (not sure how to write that) and that would work for Matthew in the case above but not for NT use of OT
since there is intervening text.
How might I write the filter?
I would put the list filter in a global macro to place in tiddlers that are topics (Matthew
, NT use of OT
. (I already have a working macro to do the same for sources which searches for the current title as a prefix.)