Discussion:
[tw5] Abbreviation list: A proof of concept
(too old to reply)
Mohammad
2018-12-06 20:09:06 UTC
Permalink
Abbreviation list

When you use several abbreviations in a tiddler or wiki, you may need to
list all those acronyms somewhere in your tiddler.
To do so, I have developed a short macro uses data tiddlers to store the
list of terms plus their full explanation and then list
them in an alphabetical order.

A demo has been given here using TW 5.1.18

http://kookma.tiddlyspot.com/ <http://kookma.tiddlyspot.com/>


The main macro here is

\define abbr-list(indexes, dtiddler:"")
<h2>Abbreviation</h2>
<table class="table-borderless">
<$list filter="$indexes$ +[sort[]]" variable="item">
<tr>
<td style="color:blue;"><<item>></td>
<td><$view tiddler=<<__dtiddler__>> index=<<item>> /></td>
</tr>
</$list>
</table>
\end





In this demo also the abbr macro from Shiraz plugin (
https://github.com/kookma/Shiraz) has been used.



- 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 tiddlywiki+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
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/731d3b1b-a600-4c57-afa1-64560780858d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Continue reading on narkive:
Loading...