Here's another technique that doesn't need wikify nor a macro. It does
still need a special indicator to "store" the original prefix:
<$list filter="
[tag[mysort]removeprefix[The ]addsuffix[===The]]
[tag[mysort]removeprefix[A ]addsuffix[===A]]
[tag[mysort]removeprefix[An ]addsuffix[===An]]
[tag[mysort]!prefix[A ]!prefix[An ]!prefix[The]]
+[sort[]]
"
variable="fixedtitle" >
<$list filter="[<fixedtitle>regexp[===]]">
<$list filter="[<fixedtitle>split[===]nth[1]]" variable=end><$list filter="[
<fixedtitle>split[===]nth[2]]" variable=start>
<$link to={{{ [<start>addsuffix[ ]addsuffix<end>] }}}><<start>> <<end>
></$link><br/>
</$list>
</$list>
</$list>
<$list filter="[<fixedtitle>!regexp[===]]" variable="title">
{{{ [<title>] }}}<br/>
</$list>
</$list>
On Friday, March 20, 2020 at 7:46:39 AM UTC-7, PS wrote:
>
> Is there a good way to use the list-before or list-after field to allow
> sorting of tiddlers that ignores a/an/the at the beginning of titles?
>
>
--
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/6c18e4fc-cd35-4729-94a2-89552955c21d%40googlegroups.com.