Changes

Jump to navigation Jump to search
1,075 bytes added ,  02:56, 8 December 2019
m
→‎Description: update for mkiv
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=definesynonyms
<texcode>
\definesynonyms[abbreviation][abbreviations][\infull]
\setupsynonyms[styleabbreviation][textstyle=cap]
</texcode>
<texcode>
\subject{Abbreviations}
\placelistofabbreviations
</texcode>
orwith automatic chapter
<texcode>
\completelistofabbreviations % only ones used in the text\completelistofabbreviations[criterium=all] % this prints even the unused
</texcode>
== Example ==
<context source="yes" text="looks like this:">
\definesynonyms[test][tests][\infull]
 
\setupsynonyms[test][criterium=all]
 
\test{ITU}{International Telecommunication Union}
\test{MID}{Maritime Identification Digit}
\test{Ch}{Switzerland}
 
\starttext
 
The \ITU\ is an organisation in \infull{Ch}
 
\subject{Short is nice}
\placelistoftests
 
\stoptext
</context>
 
== Hint ==
<texcode>
\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