]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/macros.itexi
024eaae1cf4fd073529bee28d2844daf1d56df8a
[lilypond.git] / Documentation / fr / user / macros.itexi
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: d30aabb4adc9e13c7a5a99a22230e97a0f164255
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 @include version.itexi
10
11 @c   ***** Displaying text *****
12
13 @c we need this since @q{\} doesn't work with makeinfo 4.8 --
14 @c say @q{@value{backslash}} instead
15 @set backslash \
16
17 @c to get decent quotes in `foo' and ``foo''
18 @c  these need to be split up so that "@qq{foo}." looks nice.  :(
19 @iftex
20 @macro q{TEXT}
21 @quoteleft{}\TEXT\@quoteright{}
22 @end macro
23
24 @macro qq{TEXT}
25 @guillemetleft{}@tie{}\TEXT\@tie{}@guillemetright{}
26 @end macro
27 @end iftex
28
29
30 @ifinfo
31 @macro q{TEXT}
32 `\TEXT\'
33 @end macro
34
35 @macro qq{TEXT}
36 « \TEXT\ »
37 @end macro
38 @end ifinfo
39
40
41 @ifhtml
42 @macro q{TEXT}
43 @html
44 ‘\TEXT\’
45 @end html
46 @end macro
47
48 @c FIXME: hack unbreakable thin spaces
49 @macro qq{TEXT}
50 @html
51 « \TEXT\ »
52 @end html
53 @end macro
54 @end ifhtml
55
56
57 @ifdocbook
58 @macro q{TEXT}
59 @xml
60 ‘\TEXT\’
61 @end xml
62 @end macro
63
64 @c FIXME: hack unbreakable thin spaces
65 @macro qq{TEXT}
66 @xml
67 « \TEXT\ »
68 @end xml
69 @end macro
70 @end ifdocbook
71
72 @macro warning{TEXT}
73 @quotation
74 @quotation
75 @cartouche
76 @b{Note :} \TEXT\
77 @end cartouche
78 @end quotation
79 @end quotation
80 @end macro
81
82 @ifnotinfo
83 @macro notation{TEXT}
84 @var{\TEXT\}
85 @end macro
86 @end ifnotinfo
87
88 @ifinfo
89 @macro notation{TEXT}
90 \TEXT\
91 @end macro
92 @end ifinfo
93
94 @macro smallspace
95 @sp 1
96 @end macro
97
98
99 @c   **** Displaying images not generated by lilypond-book
100
101 @c current installation setup of Info docs requires that all images are
102 @c expected to be found in lilypond/ subdirectory.  lilypond-book already
103 @c generates proper @image commands for images of music; these macros
104 @c definitions do the same for other images.
105
106 @ifnotinfo
107 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
108 @image{\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
109 @end macro
110 @end ifnotinfo
111
112 @ifinfo
113 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
114 @image{lilypond/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
115 @end macro
116 @end ifinfo
117
118
119
120 @c   **** Headings in a doc subsection ****
121
122 @macro predefined
123 @noindent
124 @subsubheading Predefined commands
125
126 @end macro
127
128 @macro snippets
129 @noindent
130 @subsubheading Selected Snippets
131
132 @end macro
133
134 @c obsolete, remove when translation is fully updated
135 @macro commonprop
136 @noindent
137 @subsubheading Commonly tweaked properties
138
139 @end macro
140
141 @macro seealso
142 @noindent
143 @subsubheading See also
144
145 @end macro
146
147 @macro knownissues
148 @noindent
149 @subsubheading Known issues and warnings
150
151 @end macro
152
153 @c obsolete, remove when translation is fully updated
154 @macro context{TEXT}
155 @vindex \TEXT\
156 @code{\TEXT\}@c should use internalsref
157 @end macro
158
159 @c obsolete, remove when translation is fully updated
160 @macro refcommand{TEXT}
161 @vindex \TEXT\
162 @code{\TEXT\}
163 @end macro
164
165 @macro funindex {TEXT}
166 @findex \TEXT\
167 @kindex \TEXT\
168 @end macro
169
170
171
172 @c   **** Links and references ****
173
174 @c WARNING: new @lsr macro in English docs takes 3 arguments
175 @c and new @lsrdir takes two arguments
176
177 @c obsolete
178 @c usage: @lsr{ancient,custodes.ly}
179 @macro lsr{DIR,TEXT}
180 @ifhtml
181 @uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}}
182 @end ifhtml
183 @ifnothtml
184 @file{\DIR\/\TEXT\}
185 @end ifnothtml
186 @end macro
187
188 @c don't update until this macro is correctly set up in English docs
189 @macro lsrdir{DIR}
190 @ifhtml
191 @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/}
192 @end ifhtml
193 @ifnothtml
194 @file{\DIR\}
195 @end ifnothtml
196 @end macro
197
198
199
200
201 @c  Definitions for references:
202 @c     @internalsref
203 @c     @rglos
204 @c     @rprogram
205 @c     @ruser
206 @c     @rlearning
207
208 @ifhtml
209 @c ***** HTML *****
210
211 @ifset bigpage
212
213 @macro internalsref{TEXT}
214 @vindex \TEXT\
215 @ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes}
216 @end macro
217
218 @macro rglos{TEXT}
219 @vindex \TEXT\
220 @ref{\TEXT\,,,music-glossary-big-page,Glossaire}
221 @end macro
222
223 @macro rprogram{TEXT}
224 @vindex \TEXT\
225 @ref{\TEXT\,,,lilypond-program-big-page,Manuel d'utilisation du programme}
226 @end macro
227
228 @macro ruser{TEXT}
229 @vindex \TEXT\
230 @ref{\TEXT\,,,lilypond-big-page,Manuel de notation}
231 @end macro
232
233 @macro rlearning{TEXT}
234 @vindex \TEXT\
235 @ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation}
236 @end macro
237
238 @end ifset
239
240
241 @ifclear bigpage
242
243 @macro internalsref{TEXT}
244 @vindex \TEXT\
245 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
246 @end macro
247
248 @macro rglos{TEXT}
249 @vindex \TEXT\
250 @ref{\TEXT\,,,music-glossary,Glossaire}
251 @end macro
252
253 @macro rprogram{TEXT}
254 @vindex \TEXT\
255 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
256 @end macro
257
258 @macro ruser{TEXT}
259 @vindex \TEXT\
260 @ref{\TEXT\,,,lilypond,Manuel de notation}
261 @end macro
262
263 @macro rlearning{TEXT}
264 @vindex \TEXT\
265 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
266 @end macro
267
268 @end ifclear
269
270 @end ifhtml
271
272
273 @ifdocbook
274 @c ***** DOCBOOK-XML *****
275
276 @macro internalsref{TEXT}
277 @vindex \TEXT\
278 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
279 @end macro
280
281 @macro rglos{TEXT}
282 @vindex \TEXT\
283 @ref{\TEXT\,,,music-glossary,Glossaire}
284 @end macro
285
286 @macro rprogram{TEXT}
287 @vindex \TEXT\
288 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
289 @end macro
290
291 @macro ruser{TEXT}
292 @vindex \TEXT\
293 @ref{\TEXT\,,,lilypond,Manuel de notation}
294 @end macro
295
296 @macro rlearning{TEXT}
297 @vindex \TEXT\
298 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
299 @end macro
300
301 @end ifdocbook
302
303
304 @ifinfo
305 @c **** INFO ****
306
307 @macro internalsref{NAME}
308 @vindex \NAME\
309 @inforef{\NAME\,,lilypond-internals,Référence des propriétés internes}
310 @end macro
311
312 @macro rglos{NAME}
313 @vindex \NAME\
314 @inforef{\NAME\,,music-glossary,Glossaire}
315 @end macro
316
317 @macro rprogram{TEXT}
318 @vindex \TEXT\
319 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
320 @end macro
321
322 @macro ruser{TEXT}
323 @vindex \TEXT\
324 @ref{\TEXT\,,,lilypond,Manuel de notation}
325 @end macro
326
327 @macro rlearning{TEXT}
328 @vindex \TEXT\
329 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
330 @end macro
331
332 @end ifinfo
333
334
335 @c **** TEX ****
336 @iftex
337
338 @macro internalsref{TEXT}
339 @vindex \TEXT\
340 @code{\TEXT\}
341 @end macro
342
343 @macro rglos {TEXT}
344 @vindex \TEXT\
345 @ref{\TEXT\,,,music-glossary,Glossaire}
346 @end macro
347
348 @macro rprogram{TEXT}
349 @ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme}
350 @end macro
351
352 @macro ruser{TEXT}
353 @ref{\TEXT\,,,lilypond.fr,Manuel de notation}
354 @end macro
355
356 @macro rlearning{TEXT}
357 @ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation}
358 @end macro
359
360 @end iftex
361
362
363 @c EOF