On Sunday, June 18, 2017 at 6:34:41 PM UTC+2, Mark S. wrote:
>
> subtitle might work. I see that its been used exactly 6 times so far. But 
> what I liked about 'caption' was that it automatically got used in the toc 
> macros. Perhaps the toc macros could be written to select the titles with 
> this priority:
>
>   caption -> subtitle -> title
>

I played a little bit with the macro and called my version "phony". It 
removes the list-widget completely and would allow us to use nested 
transclusions to find the field the first existing field. See: 


\define returnText(tid) <$transclude tiddler="""$tid$""" 
field=subtitle><$transclude 
tiddler="""$tid$""" field=title/></$transclude>
\define phony(tid) <$link to="""$tid$"""><<returnText """$tid$""">></$link>

I think this should be a pretty performant solution. 

-m

-- 
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/07d98a6d-084b-442b-9bc2-6011fbbbef66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to