The numbering is applied as items are introduced. This seems to be the 
approach used by most periodicals.

What would be the best way to have the numbering applied?

A completely different approach would be to have the numbers inside the 
tiddlers (e.g. field refnumber) , with the auto-increment applied at the 
creation of the tiddler. But then each item is stuck with the same number 
forever. What if one of the references needs to be deleted?

Yet another approach, which wouldn't need a JS macro is to re-apply 
numbering to all items via a button whenever the set of items needed to be 
updated. But then the number order would be in whatever order you listed 
the items (title? description? publication date?)

Mark

On Sunday, December 9, 2018 at 5:00:24 AM UTC-8, oleghbond wrote:
>
> Mohammad,
>
> thanks, the very convenient playground.
>
> A couple of questions:
>
>    - not clear how the order of numbering can be controlled? Or in other 
>    words, how can one change the numbering order?
>    - would it be possible to introduce an additional field for each 
>    artifact's tiddler sort of 'ref_type' storing values 'table', 'figure', 
>    'formula', etc., in order to provide a separate counter for each 
> 'ref_type' 
>    value?
>
> Olegh
>
> неділя, 9 грудня 2018 р. 12:02:26 UTC+2 користувач Mohammad написав:
>>
>> Olegh,
>>  I made a demo based on Mark code!
>> See it here
>>  http://autoref.tiddlyspot.com/
>>
>>
>> --Mohammad
>>
>

-- 
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/9256be86-03e4-48ac-b3b6-0a555d8d2aba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to