]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/macros.itexi
Merge branch 'master' into dev/texi2html
[lilypond.git] / Documentation / fr / user / macros.itexi
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: 1440fffdf8579046cc2033b9c697a190b34b91e5
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 @macro qq{TEXT}
49 @html
50 &laquo;<font size="-4">&nbsp;</font>\TEXT\<font size="-4">&nbsp;</font>&raquo;
51 @end html
52 @end macro
53 @end ifhtml
54
55
56 @ifdocbook
57 @macro q{TEXT}
58 @xml
59 &lsquo;\TEXT\&rsquo;
60 @end xml
61 @end macro
62
63 @macro qq{TEXT}
64 @xml
65 &laquo;<font size="-4">&nbsp;</font>\TEXT\<font size="-4">&nbsp;</font>&raquo;
66 @end xml
67 @end macro
68 @end ifdocbook
69
70 @macro warning{TEXT}
71 @quotation
72 @quotation
73 @cartouche
74 @b{Note :} \TEXT\
75 @end cartouche
76 @end quotation
77 @end quotation
78 @end macro
79
80 @ifnotinfo
81 @macro notation{TEXT}
82 @var{\TEXT\}
83 @end macro
84 @end ifnotinfo
85
86 @ifinfo
87 @macro notation{TEXT}
88 \TEXT\
89 @end macro
90 @end ifinfo
91
92 @macro smallspace
93 @sp 1
94 @end macro
95
96
97 @c   **** Displaying images not generated by lilypond-book
98
99 @c current installation setup of Info docs requires that all images are
100 @c expected to be found in lilypond/ subdirectory.  lilypond-book already
101 @c generates proper @image commands for images of music; these macros
102 @c definitions do the same for other images.
103
104 @ifnotinfo
105 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
106 @image{\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
107 @end macro
108 @end ifnotinfo
109
110 @ifinfo
111 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
112 @image{lilypond/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
113 @end macro
114 @end ifinfo
115
116
117
118 @c   **** Headings in a doc subsection ****
119
120 @macro predefined
121 @noindent
122 @subsubheading Predefined commands
123
124 @end macro
125
126 @macro snippets
127 @noindent
128 @subsubheading Selected Snippets
129
130 @end macro
131
132 @c obsolete, remove when translation is fully updated
133 @macro commonprop
134 @noindent
135 @subsubheading Commonly tweaked properties
136
137 @end macro
138
139 @macro seealso
140 @noindent
141 @subsubheading See also
142
143 @end macro
144
145 @macro knownissues
146 @noindent
147 @subsubheading Known issues and warnings
148
149 @end macro
150
151 @c obsolete, remove when translation is fully updated
152 @macro context{TEXT}
153 @vindex \TEXT\
154 @code{\TEXT\}@c should use rinternals
155 @end macro
156
157 @c obsolete, remove when translation is fully updated
158 @macro refcommand{TEXT}
159 @vindex \TEXT\
160 @code{\TEXT\}
161 @end macro
162
163 @macro lydoctitle {TEXT}
164 @emph{\TEXT\}
165
166 @end macro
167
168 @macro funindex {TEXT}
169 @findex \TEXT\
170 @kindex \TEXT\
171 @end macro
172
173
174
175 @c   **** Links and references ****
176
177 @c  Definitions for references:
178 @c     @rinternals
179 @c     @rglos
180 @c     @rprogram
181 @c     @ruser
182 @c     @rlearning
183 @c     @rlsr
184
185 @ifhtml
186 @c ***** HTML *****
187
188 @ifset bigpage
189
190 @macro rinternals{TEXT}
191 @vindex \TEXT\
192 @ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes}
193 @end macro
194
195 @macro rglos{TEXT}
196 @vindex \TEXT\
197 @ref{\TEXT\,,,music-glossary-big-page,Glossaire}
198 @end macro
199
200 @macro rprogram{TEXT}
201 @vindex \TEXT\
202 @ref{\TEXT\,,,lilypond-program-big-page,Manuel d'utilisation du programme}
203 @end macro
204
205 @macro ruser{TEXT}
206 @vindex \TEXT\
207 @ref{\TEXT\,,,lilypond-big-page,Manuel de notation}
208 @end macro
209
210 @macro rlearning{TEXT}
211 @vindex \TEXT\
212 @ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation}
213 @end macro
214
215 @macro rlsr{TEXT}
216 @vindex \TEXT\
217 @ref{\TEXT\,,,lilypond-snippets-big-page,Exemples de code}
218 @end macro
219
220 @end ifset
221
222
223 @ifclear bigpage
224
225 @macro rinternals{TEXT}
226 @vindex \TEXT\
227 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
228 @end macro
229
230 @macro rglos{TEXT}
231 @vindex \TEXT\
232 @ref{\TEXT\,,,music-glossary,Glossaire}
233 @end macro
234
235 @macro rprogram{TEXT}
236 @vindex \TEXT\
237 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
238 @end macro
239
240 @macro ruser{TEXT}
241 @vindex \TEXT\
242 @ref{\TEXT\,,,lilypond,Manuel de notation}
243 @end macro
244
245 @macro rlearning{TEXT}
246 @vindex \TEXT\
247 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
248 @end macro
249
250 @macro rlsr{TEXT}
251 @vindex \TEXT\
252 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
253 @end macro
254
255 @end ifclear
256
257 @end ifhtml
258
259
260 @ifdocbook
261 @c ***** DOCBOOK-XML *****
262
263 @macro rinternals{TEXT}
264 @vindex \TEXT\
265 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
266 @end macro
267
268 @macro rglos{TEXT}
269 @vindex \TEXT\
270 @ref{\TEXT\,,,music-glossary,Glossaire}
271 @end macro
272
273 @macro rprogram{TEXT}
274 @vindex \TEXT\
275 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
276 @end macro
277
278 @macro ruser{TEXT}
279 @vindex \TEXT\
280 @ref{\TEXT\,,,lilypond,Manuel de notation}
281 @end macro
282
283 @macro rlearning{TEXT}
284 @vindex \TEXT\
285 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
286 @end macro
287
288 @macro rlsr{TEXT}
289 @vindex \TEXT\
290 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
291 @end macro
292
293 @end ifdocbook
294
295
296 @ifinfo
297 @c **** INFO ****
298
299 @macro rinternals{NAME}
300 @vindex \NAME\
301 @inforef{\NAME\,,lilypond-internals,Référence des propriétés internes}
302 @end macro
303
304 @macro rglos{NAME}
305 @vindex \NAME\
306 @inforef{\NAME\,,music-glossary,Glossaire}
307 @end macro
308
309 @macro rprogram{TEXT}
310 @vindex \TEXT\
311 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
312 @end macro
313
314 @macro ruser{TEXT}
315 @vindex \TEXT\
316 @ref{\TEXT\,,,lilypond,Manuel de notation}
317 @end macro
318
319 @macro rlearning{TEXT}
320 @vindex \TEXT\
321 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
322 @end macro
323
324 @macro rlsr{TEXT}
325 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
326 @end macro
327
328 @end ifinfo
329
330
331 @c **** TEX ****
332 @iftex
333
334 @macro rinternals{TEXT}
335 @vindex \TEXT\
336 @code{\TEXT\}
337 @end macro
338
339 @macro rglos {TEXT}
340 @vindex \TEXT\
341 @ref{\TEXT\,,,music-glossary,Glossaire}
342 @end macro
343
344 @macro rprogram{TEXT}
345 @ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme}
346 @end macro
347
348 @macro ruser{TEXT}
349 @ref{\TEXT\,,,lilypond.fr,Manuel de notation}
350 @end macro
351
352 @macro rlearning{TEXT}
353 @ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation}
354 @end macro
355
356 @macro rlsr{TEXT}
357 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
358 @end macro
359
360 @end iftex
361
362
363 @c Commands specific to translated docs
364
365 @c ugh, cannot set/define global variable 'translationof' in some way?
366 @iftex
367 @macro translationof{TEXT}
368 @end macro
369 @end iftex
370
371 @ifinfo
372 @macro
373 @macro translationof{TEXT}
374 @set translationof \TEXT\
375 @end macro
376 @end ifinfo
377
378 @c TODO when @translationof is used in translated docs
379 @c see if it's feasible to say @value{translationof}
380 @macro englishref
381 Cette section n'est pas encore encore traduite, veuillez
382 vous reporter à la documentation correspondante en anglais.
383 @end macro