That’s a very reasonable request, unfortunately, it’s not possible with TW5’s current design. It’s to do with the way that wikitext variables work. Widgets can define/modify variables and the values of those variables are then available within that widget. However, there’s no way to have a variable whose value changes between siblings; it isn’t possible to make a macro or widget affect the value of a variable in the immediately following text.
(This is actually one of the issues I want to tackle in TWX; it’s a classic case of something that is too late to change for TW5 because it would basically be a redesign of how widgets and variables work). Best wishes Jeremy. > On 7 Dec 2018, at 08:38, oleghbond <[email protected]> wrote: > > My exploration of this issue shows absence of decent plugin or macros. > > So let me suggest for consideration of TW community the following > specification (in meta language) of such an instrument: > > SPECIFICATION: > > <<xref > fun: {anchor|ref|list} > type: {ref|graph|formula|note|table} // a set of types is defined by > user dynamically > view: format_string // examples: "n. t.", "t (a)", > "[a]", "(n)" > // where 'a' - autonumber, 'n' - > 'text of 'obj_name', 't' - text of 'desc' > // inserted text is wikifiable > (for KaTeX, macros, etc.) > name: obj_name // used for 'fun:anchor' and > 'fun:ref' > desc: obj_text_descriptor // used for 'fun:anchor' only > >> > > USE: > > Anchor: > > wiki code: > qwerty <<xref anchor ref "[n]" "SJ-2015" "S.Johnson. Paper title. > Publ. 2015">> mnbv > wiki view: > qwerty [1] mnbv > > wiki code: > <<xref anchor ref "n. t" "SJ-2015" "S.Johnson. Paper title. Publ. > 2015">> > <<xref anchor ref "n. t" "WS-2016" "W.Simpson. Another paper > title. Publ. 2016">> > wiki view: > 1. S.Johnson. Paper title. Publ. 2015 > 2. W.Simpson. Another paper title. Publ. 2016 > > Reference: > > wiki code: > asdf [<<xref ref "[n]" ref "SJ-2015" >>] kjhg > wiki view: > asdf [1] kjhg > > List: > > wiki code: > <<xref list "n. t" ref>> > wiki view: > 1. S.Johnson. Paper title. Publ. 2015 > 2. W.Simpson. Another paper title. Publ. 2016 > > > It would be great to realize this instrument. > > четвер, 6 грудня 2018 р. 19:09:54 UTC+2 користувач Mohammad написав: > Is there any reference or experience using auto-numbering for captions in TW? > > I mean when you insert images with captions in a tiddler, TW number them? > > > --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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/f3e3c3ce-55f2-42db-8a4f-d59e8cdf809d%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/f3e3c3ce-55f2-42db-8a4f-d59e8cdf809d%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/F66CCC88-833B-4FB7-81A5-CE67689E921E%40gmail.com. For more options, visit https://groups.google.com/d/optout.

