ma-cb-en-synonyms.tex /size: 2051 b    last modification: 2020-07-01 14:35
1\startcomponent ma-cb-en-synonyms
2
3\enablemode[**en-us]
4
5\project ma-cb
6
7\startchapter[reference=synonyms,title=Synonyms]
8
9\index{synonyms}
10
11\Command{\tex{definesynonyms}}
12\Command{\tex{setupsynonyms}}
13\Command{\tex{abbreviation}}
14\Command{\tex{infull}}
15\Command{\tex{loadabbreviations}}
16\Command{\tex{placelistofabbreviations}}
17\Command{\tex{completelistofabbreviations}}
18
19In many documents people want to use specific words consistently throughout the
20document. To enforce consistency the command below is available.
21
22\shortsetup{definesynonyms}
23
24The first bracket pair contains the singular form of the synonym, and the second
25contains the plural form. The third bracket pair contains a command.
26
27For example the command \type{\abbreviation} is defined by:
28
29\starttyping
30\definesynonyms[abbreviation][abbreviations][\infull]
31\setupsynonyms[style=cap]
32\stoptyping
33
34Now the command \type{\abbreviation} is available and can be used to state your
35abbreviations:
36
37\starttyping
38\abbreviation{ANWB}{Dutch Automobile Association}
39\abbreviation{VVV}{Bureau of Tourist Information}
40\abbreviation{NS}{Dutch Railways}
41\stoptyping
42
43\abbreviation{VVV}{Bureau of Tourist Information}
44
45If you would type:
46
47\startbuffer
48The Dutch \VVV\ (\infull{VVV}) can provide you with the tourist
49information on Hasselt.
50\stopbuffer
51
52\typebuffer
53
54You would obtain something like this:
55
56\getbuffer
57
58The list of synonyms or abbreviations is best defined in the set up area of your
59input file for maintenance purposes. You can also store this kind of information
60in an external file, and load the file (e.g. \type{abbrev.tex}) with:
61
62\starttyping
63\input abbrev.tex
64\stoptyping
65
66If you want to put a list of the abbreviations used in your document you can
67type:
68
69\starttyping
70\placelistofabbreviations
71\stoptyping
72
73or
74
75\starttyping
76\completelistofabbreviations
77\stoptyping
78
79A complete and sorted list with used abbreviations and their meaning is produced.
80
81The typesetting of synonynms can be influenced with:
82
83\starttyping
84\setupsynonyms
85\stoptyping
86
87\stopchapter
88
89\stopcomponent
90