On Saturday, July 28, 2018 at 3:12:19 PM UTC-7, Magnus wrote:
>
> I have a count.macro like this:
>
> <$count filter="[genus{!!caption}] -[rank[genus]]"/> (in parent tiddler
> gives a number for every tiddler with the field *rank *with content
> not genus and the field *genus *same as the parents field *caption)*
>
>
> But every other instans where I use numbers I use letters up to 12 (one,
> two, ... twelve instead of 1,2, ...12) since that is the my universitys
> prefererad way. How would I go about to change my macro to accommodate for
> this? Some kind of $list reveal?
>
Try this:
\define words() one two three four five six seven eight nine ten eleven
twelve
<$set name="num" filter="[genus{!!caption}] -[rank[genus] +[count[]]">
<$list filter="[enlist<words>nth<num>]" />
</$set>
enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/0ebf94e1-97ec-453e-9830-463260fde0a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.