Works perfectly! Your explanations were invaluable, thank you.

After a good amount of trial-and-error, I now have a system of three 
tiddlers <http://bibtexparser.tiddlyspot.com/> (example site so no one's 
working in the dark): 

1. "Annotation Parser" containing your code above

2. "Annotation Filter", tagged with $:/tags/ViewTemplate (*I have no 
concept of why this works*) containing the filter below and transcluding 
the parser
<$list filter="[is[current]!field:bibtex-annote[]]">
{{||Annotation Parser}}
</$list>

and 3. any tiddler containing the field "bibtex-entry-type," with the 
transcluded button.

I tried to remove "Extracted Annotations (6/7/2020, 1:57:43 PM)" from the 
beginning of the string (that bit always ends with "AM)" or "PM)" with

<$list filter="[{!!bibtex-annote}*allafter[M)]*split[{\textbar}]butlast[]]" 
variable="this-annote">

but that didn't work, I assume because it was expecting an item in a list, 
rather than a regular expression. Nesting didn't work, either:

<$list 
filter="[{!!bibtex-annote}*regexp[allafter[M)]]*split[{\textbar}]butlast[]]" 
variable="this-annote">

but that was just a shot in the dark.

-- 
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/bb825709-74af-4893-8343-1eb51aaf818co%40googlegroups.com.

Reply via email to