Changes

Jump to navigation Jump to search
m
→‎Description: update for mkiv
<texcode>
\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[styleabbreviation][textstyle=cap]
</texcode>
<texcode>
\completelistofabbreviations % only ones used in the text\completelistofabbreviations[criterium=all] % this prints even the unused
</texcode>
For a list of == Example ==<context source="yes" text="looks like this:"> \definesynonyms[test][tests][\infull]  \setupsynonyms[test][criterium=all abbreviations (even the unused) ]  \test{ITU}{International Telecommunication Union} \test{MID}{Maritime Identification Digit} \test{Ch}{Switzerland}  \starttext The \ITU\ is an organisation in your document you can type:\infull{Ch} \subject{Short is nice} \placelistoftests  \stoptext</context> == Hint ==
<texcode>
\completelistofabbreviations[criterium=all] abbreviation{\alpha}{Angle of something}
</texcode>
This will '''fail''' because to create a macro \alpha which expands to \alpha Use uppercase letter to prevent this, when your font contains greek you can also use a text alpha, <context source== Example ==yes>\abbreviation[ALPHA]{\alpha}{Angle of something}\abbreviation[PLANCK]{\hbar}{planckconstant}\starttext\ALPHA\ and \PLANCK\stoptext<!-- Please fill in an example if you can --/context>
== See also ==
<!-- something like [[{{cmd:goto|\goto]] }} --> == Help from ConTeXt-Mailinglist/Forum ==All issues with:{{Forum|{{SUBPAGENAME}}}}
[[Category:Reference/enCommands|definesynonyms]]
174

edits

Navigation menu