The problem with Tobias' macro in this context, in addition to probable performance issues (it uses both list and regex), is that it can be broken if a person, for instance, clones a tiddler and forgets to update the alias field. At that point a linker using his macro will pick one of 2 possible sites (whichever the regex finds first) and link to it.
Mark On Friday, June 16, 2017 at 8:41:26 AM UTC-7, Stuart Amor wrote: > > Is there a way of making an internal link, such as [[Contents]] return the > caption field of the Contents tiddler (if it was available) rather than > title? > > To give you some background, I am writing a collaborative document and > section titles are starting to become length and subject to being changed > or reworded. I am therefore starting to work on a system where I am using > tiddler titles as a short succinct title and the caption field as the long > title. When creating the links its a lot easier to point them to the > shorter tiddler title, but it would be nice to allow the previewed text > (which is read by the uninitiated) to see the current long form. > > I know its possible to create a macro to do this, but I would like to do > it at a base level if possible? I have already managed to change list > fields etc to show captions instead, but links seem to have alluded me > > Kind regards, > > Stuart > -- 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/ec748afb-7b78-488e-a922-4558b53ffa28%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

