Amreus,
We can help you achieve this, and it will be available to the community. I
am busy today but I through this together.
\define roman-20() I II III IV V VI VII VIII IX X XI XII XIII XIV XV XVI
XVII XVIII XIX XX
<$list filter="[range[1,20]]" variable=decimal>
<$set name=roman-num filter=<<roman-20>> select={{{ [<decimal>subtract[1
]] }}}>
<<decimal>>=<<roman-num>><br>
</$set>
</$list>
Try it on tiddlywiki.com or try
here https://anthonymuscio.github.io/playground.html
Regards
Tony
On Tuesday, June 16, 2020 at 5:25:38 AM UTC+10, amreus wrote:
>
> Thanks for the suggestion Tony - it's not really worth the effort at this
> time for the reasons you imply.
>
>
> On Sunday, June 14, 2020 at 8:17:29 PM UTC-4, TW Tones wrote:
>>
>> Amreus,
>>
>> A Quick and simple answer is one of the many reason roman numerals are
>> not used very often today. is there size is not directly related to the
>> size of the number and they cant be sorted.
>>
>> I suggest a macro to convert roman numerals to decimal and store this in
>> a field and use that field to sort.
>>
>> Regards
>> Tony
>>
>> On Monday, June 15, 2020 at 1:37:16 AM UTC+10, amreus wrote:
>>>
>>> Hey all,
>>>
>>> I have some tiddlers which have a common title but ending in a unique
>>> roman numeral. Is it possible to create a list of titles sorted by the
>>> roman numeral?
>>>
>>> I'm attempting use `sortby`
>>>
>>> tiddler: RomanNumerals with:
>>> list: I II III IV V VI VII VIII IX X XI XII XIII XIV XV XVI XVII XVIII
>>> XIX XX
>>>
>>> tiddler: Contents
>>> text:
>>> {{{ {prefix[CommonTitle] +sortby{RomanNumerals!!list}] }}}
>>>
>>>
>>> Any hint is appreciated. Thanks.
>>>
>>>
>>>
--
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/6ca66e81-9023-40ab-8414-809790c081e8o%40googlegroups.com.