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?
>

I interpret your question to be; how can I show the word "twelve" when I 
got the number 12 as output.

You can use a dictionary tiddler with:

1:one
2:two
...


Then in your tiddler

\define getmyword() {{mydictionary##$(number)$}}

<$list filter="...count[]]" variable=number>
<<getmyword>>
</$list>



<:-)

-- 
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/488629c4-dde5-4fb3-8256-5e69b64a2549%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to