;aTerm
:aDefiniton
;aSecondTerm
:aSecondDefinition
glossary
text:
{
"aTerm":"aDefiniton",
"aSecondTerm":"aSecondDefinition"
}
Type: application/json
And then link using: {{glossary##aTerm}}
<<show-glossary>> will show the whole list and
<<term abc>> will show the term and add the definition as tooltip.
download the attachment and drag and drop import it to your TW
<tr><td>$term$</td><td>
{{glossary##$term$}}</td></tr>
glossary]indexes[]]" >
<$macrocall $name="showTerm" term=<<term>> />
</$list>
</table>
As shown here: http://cpashow.tiddlyspot.com/#glossary:glossary%20[[List%20Terms]]
What I want to do is istead of replacing the item, I want to show it, I could use a Tiddler to get the same functionality but then then each Glossary term is in a separate Tiddler with all the overhaeds in maintenance that entails and they are not all in one place. I could tag them with a Glossary tag and collect them under one Tiddler.
But I think it would be much simpler, to use the existing linking structure and be able to go to a point in a Tiddler, and not just the Tiddler.
Thank you that is much more what I wanted, having a tooltip definition pop-up is brilliant.I would not have the first idea how to do it myself, so I am indebited to you.
I do have one question, in the <<show-glossary>> macro there is a sort operation but the glossary it produces is not sorted by the terms. I have obviously misunderstood the syntax. Why is the sort operation there, it does not appear to do anything?
http://tiddlywiki.com/#sort%20Operator it should default to title. But since we use a dictionary the title field may not be set. ... Which in turn may be a bug. We'll have to investigate.
-mario
It's actually much much harder, since this is against the TW design priciple, where "everything is a tiddler". So accassing lists of tiddlers is easy, because TW knows about tiddlers but it doesn't know much about the tiddler content atm.