Difference between revisions of "Command/ placelistofsynonyms"

From Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<cd:commandgroup generated="yes" name="placelistofsynonyms" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup generated="yes" name="placelistofsynonyms" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
+
<cd:shortdesc>The instances of  <tt>\placelistof<i>synonyms</i></tt> are used to typeset a list of synonyms
The instances of  <tt>\placelistof<i>synonyms</i></tt> are used for ...
 
 
</cd:shortdesc>
 
</cd:shortdesc>
 
<cd:sequence>
 
<cd:sequence>
Line 20: Line 19:
 
   </cd:command>
 
   </cd:command>
 
</cd:variants>
 
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
+
<cd:description>The instances of  <tt>\placelistof<i>synonyms</i></tt> are used to typeset a list of synonyms, complete with a header on top.
 +
 
 +
Such lists are created using {{cmd|definesynonyms}}, and configured using either {{cmd|setupsynonyms}} or within the optional argument.
 +
 
 +
It is functionally equivalent to {{cmd|placelistofsynonyms}}<code>[<i>synonym</i>]</code>.
 +
 
 
</cd:description>
 
</cd:description>
<cd:examples></cd:examples>
+
<cd:examples><cd:example title=""><context source="yes">
 +
\setuppapersize[A8,landscape] \showframe
 +
 
 +
\definesynonyms[test][tests][\infull]
 +
 
 +
\test{ITU}{International Telecommunication Union}
 +
\test{MID}{Maritime Identification Digit}
 +
\test{Ch}{Switzerland}
 +
 
 +
\starttext
 +
 
 +
The \ITU\ is an organisation in \infull{Ch}
 +
 
 +
\section{Explicit test header}
 +
\placelistoftests[criterium=all]
 +
 
 +
\stoptext
 +
</context></cd:example></cd:examples>
 
<cd:notes></cd:notes>
 
<cd:notes></cd:notes>
 
<cd:seealso>
 
<cd:seealso>
Line 30: Line 51:
 
<cd:commandref name="setupsynonyms" originator="system"></cd:commandref>
 
<cd:commandref name="setupsynonyms" originator="system"></cd:commandref>
 
<cd:source file="strc-syn.mkiv" originator="system"></cd:source>
 
<cd:source file="strc-syn.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Symbols"></cd:wikipage></cd:seealso>
+
<cd:wikipage originator="system" page="Category:Symbols"></cd:wikipage>
 +
<cd:commandref name="placelistofsynonyms"></cd:commandref></cd:seealso>
 
</cd:commandgroup>
 
</cd:commandgroup>

Revision as of 08:34, 12 November 2021


\placelistofsynonyms

Summary

The instances of \placelistofsynonyms are used to typeset a list of synonyms

Instances

\placelistofabbreviations

Settings instance

\placelistofSYNONYMS[...=...,...]
...=...,...inherits from \setupsynonyms

Description

The instances of \placelistofsynonyms are used to typeset a list of synonyms, complete with a header on top.

Such lists are created using \definesynonyms, and configured using either \setupsynonyms or within the optional argument.

It is functionally equivalent to \placelistofsynonyms[synonym].


Examples

Example 1

\setuppapersize[A8,landscape] \showframe

 \definesynonyms[test][tests][\infull]

 \test{ITU}{International Telecommunication Union}
 \test{MID}{Maritime Identification Digit}
 \test{Ch}{Switzerland}

 \starttext

The \ITU\ is an organisation in \infull{Ch}

 \section{Explicit test header}
 \placelistoftests[criterium=all]

 \stoptext

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: