]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
Use @itemize without specifying @bullet.
[lilypond.git] / Documentation / user / macros.itexi
1 @c -*- coding: us-ascii; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9
10 @c   ***** Displaying text *****
11
12 @c we need this since @q{\} doesn't work with makeinfo 4.8 --
13 @c say @q{@value{backslash}} instead
14 @set backslash \
15
16 @c to get decent quotes in `foo' and ``foo''
17 @macro q{TEXT}
18 @quoteleft{}\TEXT\@quoteright{}
19 @end macro
20
21 @macro qq{TEXT}
22 @quotedblleft{}\TEXT\@quotedblright{}
23 @end macro
24
25 @macro warning{TEXT}
26 @quotation
27 @quotation
28 @cartouche
29 @b{Note:} \TEXT\
30 @end cartouche
31 @end quotation
32 @end quotation
33 @end macro
34
35
36
37 @c   **** Headings in a doc subsection ****
38
39 @c not really a heading, but...
40 @macro smallspace
41 @sp 1
42 @end macro
43
44 @c absolete; being removed.
45 @macro refcommands
46 @noindent
47 @subsubheading Predefined commands
48
49 @end macro
50
51 @macro commonprop
52 @noindent
53 @subsubheading Commonly tweaked properties
54
55 @end macro
56
57 @macro seealso
58 @noindent
59 @subsubheading See also
60
61 @end macro
62
63 @macro refbugs
64 @noindent
65 @subsubheading Known issues and warnings
66
67 @end macro
68
69
70 @macro context{TEXT}
71 @vindex \TEXT\
72 @code{\TEXT\}@c should use internalsref
73 @end macro
74
75 @macro refcommand{TEXT}
76 @vindex \TEXT\
77 @code{\TEXT\}
78 @end macro
79
80 @macro funindex {TEXT}
81 @findex \TEXT\
82 @kindex \TEXT\
83 @end macro
84
85
86
87 @c   **** Links and references ****
88
89 @c usage: @lsr{ancient,custodes.ly}
90 @macro lsr{DIR,TEXT}
91 @ifhtml
92 @uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}}
93 @end ifhtml
94 @ifnothtml
95 @file{\DIR\/\TEXT\}
96 @end ifnothtml
97 @end macro
98
99 @macro lsrdir{DIR}
100 @ifhtml
101 @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/}
102 @end ifhtml
103 @ifnothtml
104 @file{\DIR\}
105 @end ifnothtml
106 @end macro
107
108
109 @c  Definitions for references:
110 @c     @internalsref
111 @c     @rglos
112 @c     @rprogram
113 @c     @ruser
114 @c     @rlearning
115
116 @ifhtml
117 @c ***** HTML *****
118
119 @c makeinfo-4.7 encodes html names, which means that nodes that
120 @c contain nonalphanum characters will be broken links on the website.
121 @c @uref{../lilypond-internals/\TEXT\.html,\TEXT\}@c
122 @c @inforef{} adds ``See'' to the sentence, which is annoying, but
123 @c better than a broken link.
124 @c @inforef{\TEXT\,,lilypond-internals}@c
125 @c using @ref without punctuation is OK without for formats other than info
126
127 @ifset bigpage
128
129 @macro internalsref{TEXT}
130 @vindex \TEXT\
131 @ref{\TEXT\,,,lilypond-internals-big-page}
132 @end macro
133
134 @macro rglos{TEXT}
135 @vindex \TEXT\
136 @ref{\TEXT\,,,music-glossary-big-page}
137 @end macro
138
139 @macro rprogram{TEXT}
140 @vindex \TEXT\
141 @ref{\TEXT\,,,lilypond-program-big-page}
142 @end macro
143
144 @macro ruser{TEXT}
145 @vindex \TEXT\
146 @ref{\TEXT\,,,lilypond-big-page}
147 @end macro
148
149 @macro rlearning{TEXT}
150 @vindex \TEXT\
151 @ref{\TEXT\,,,lilypond-learning-big-page}
152 @end macro
153
154 @end ifset
155
156
157 @ifclear bigpage
158
159 @macro internalsref{TEXT}
160 @vindex \TEXT\
161 @ref{\TEXT\,,,lilypond-internals}
162 @end macro
163
164 @macro rglos{TEXT}
165 @vindex \TEXT\
166 @ref{\TEXT\,,,music-glossary}
167 @end macro
168
169 @macro rprogram{TEXT}
170 @vindex \TEXT\
171 @ref{\TEXT\,,,lilypond-program}
172 @end macro
173
174 @macro ruser{TEXT}
175 @vindex \TEXT\
176 @ref{\TEXT\,,,lilypond}
177 @end macro
178
179 @macro rlearning{TEXT}
180 @vindex \TEXT\
181 @ref{\TEXT\,,,lilypond-learning}
182 @end macro
183
184 @end ifclear
185
186 @end ifhtml
187
188
189 @ifdocbook
190 @c ***** DOCBOOK-XML *****
191
192 @macro internalsref{TEXT}
193 @vindex \TEXT\
194 @ref{\TEXT\,,,lilypond-internals}
195 @end macro
196
197 @macro rglos{TEXT}
198 @vindex \TEXT\
199 @ref{\TEXT\,,,music-glossary}
200 @end macro
201
202 @macro rprogram{TEXT}
203 @vindex \TEXT\
204 @ref{\TEXT\,,,lilypond-program}
205 @end macro
206
207 @macro ruser{TEXT}
208 @vindex \TEXT\
209 @ref{\TEXT\,,,lilypond}
210 @end macro
211
212 @macro rlearning{TEXT}
213 @vindex \TEXT\
214 @ref{\TEXT\,,,lilypond-learning}
215 @end macro
216
217 @end ifdocbook
218
219
220 @ifinfo
221 @c **** INFO ****
222
223 @macro internalsref{TEXT}
224 @vindex \TEXT\
225 @inforef{\TEXT\,,lilypond-internals}
226 @end macro
227
228 @macro rprogram{TEXT}
229 @vindex \TEXT\
230 @ref{\TEXT\,,,lilypond-program}
231 @end macro
232
233 @macro ruser{TEXT}
234 @vindex \TEXT\
235 @ref{\TEXT\,,,lilypond}
236 @end macro
237
238 @macro rlearning{TEXT}
239 @vindex \TEXT\
240 @ref{\TEXT\,,,lilypond-learning}
241 @end macro
242
243 @end ifinfo
244
245
246 @c **** TEX ****
247 @iftex
248
249 @macro internalsref{TEXT}
250 @vindex \TEXT\
251 @code{\TEXT\}
252 @end macro
253
254 @macro rglos {TEXT}
255 @vindex \TEXT\
256 @code{\TEXT\}
257 @end macro
258
259 @macro rprogram{TEXT}
260 program usage manual, @internalsref{\TEXT\}
261 @end macro
262
263 @macro ruser{TEXT}
264 user manual, @internalsref{\TEXT\}
265 @end macro
266
267 @macro rlearning{TEXT}
268 learning manual, @internalsref{\TEXT\}
269 @end macro
270
271 @end iftex
272
273
274 @c EOF