]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/fr/user/macros.itexi
Merge branch 'master' of ssh+git://hanwen@git.sv.gnu.org/srv/git/lilypond
[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 @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 obsolete, not replaced by anything (maybe will be replaced 
178 @c with rlsr in the future)
179 @c usage: @lsr{ancient,custodes.ly}
180 @macro lsr{DIR,TEXT}
181 @ifhtml
182 @uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}}
183 @end ifhtml
184 @ifnothtml
185 @file{\DIR\/\TEXT\}
186 @end ifnothtml
187 @end macro
188
189 @c  Definitions for references:
190 @c     @rinternals
191 @c     @rglos
192 @c     @rprogram
193 @c     @ruser
194 @c     @rlearning
195 @c     @rlsr
196
197 @ifhtml
198 @c ***** HTML *****
199
200 @ifset bigpage
201
202 @macro rinternals{TEXT}
203 @vindex \TEXT\
204 @ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes}
205 @end macro
206
207 @macro rglos{TEXT}
208 @vindex \TEXT\
209 @ref{\TEXT\,,,music-glossary-big-page,Glossaire}
210 @end macro
211
212 @macro rprogram{TEXT}
213 @vindex \TEXT\
214 @ref{\TEXT\,,,lilypond-program-big-page,Manuel d'utilisation du programme}
215 @end macro
216
217 @macro ruser{TEXT}
218 @vindex \TEXT\
219 @ref{\TEXT\,,,lilypond-big-page,Manuel de notation}
220 @end macro
221
222 @macro rlearning{TEXT}
223 @vindex \TEXT\
224 @ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation}
225 @end macro
226
227 @macro rlsr{TEXT}
228 @vindex \TEXT\
229 @ref{\TEXT\,,,lilypond-snippets-big-page,Exemples de code}
230 @end macro
231
232 @end ifset
233
234
235 @ifclear bigpage
236
237 @macro rinternals{TEXT}
238 @vindex \TEXT\
239 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
240 @end macro
241
242 @macro rglos{TEXT}
243 @vindex \TEXT\
244 @ref{\TEXT\,,,music-glossary,Glossaire}
245 @end macro
246
247 @macro rprogram{TEXT}
248 @vindex \TEXT\
249 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
250 @end macro
251
252 @macro ruser{TEXT}
253 @vindex \TEXT\
254 @ref{\TEXT\,,,lilypond,Manuel de notation}
255 @end macro
256
257 @macro rlearning{TEXT}
258 @vindex \TEXT\
259 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
260 @end macro
261
262 @macro rlsr{TEXT}
263 @vindex \TEXT\
264 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
265 @end macro
266
267 @end ifclear
268
269 @end ifhtml
270
271
272 @ifdocbook
273 @c ***** DOCBOOK-XML *****
274
275 @macro rinternals{TEXT}
276 @vindex \TEXT\
277 @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes}
278 @end macro
279
280 @macro rglos{TEXT}
281 @vindex \TEXT\
282 @ref{\TEXT\,,,music-glossary,Glossaire}
283 @end macro
284
285 @macro rprogram{TEXT}
286 @vindex \TEXT\
287 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
288 @end macro
289
290 @macro ruser{TEXT}
291 @vindex \TEXT\
292 @ref{\TEXT\,,,lilypond,Manuel de notation}
293 @end macro
294
295 @macro rlearning{TEXT}
296 @vindex \TEXT\
297 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
298 @end macro
299
300 @macro rlsr{TEXT}
301 @vindex \TEXT\
302 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
303 @end macro
304
305 @end ifdocbook
306
307
308 @ifinfo
309 @c **** INFO ****
310
311 @macro rinternals{NAME}
312 @vindex \NAME\
313 @inforef{\NAME\,,lilypond-internals,Référence des propriétés internes}
314 @end macro
315
316 @macro rglos{NAME}
317 @vindex \NAME\
318 @inforef{\NAME\,,music-glossary,Glossaire}
319 @end macro
320
321 @macro rprogram{TEXT}
322 @vindex \TEXT\
323 @ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme}
324 @end macro
325
326 @macro ruser{TEXT}
327 @vindex \TEXT\
328 @ref{\TEXT\,,,lilypond,Manuel de notation}
329 @end macro
330
331 @macro rlearning{TEXT}
332 @vindex \TEXT\
333 @ref{\TEXT\,,,lilypond-learning,Manuel d'initiation}
334 @end macro
335
336 @macro rlsr{TEXT}
337 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
338 @end macro
339
340 @end ifinfo
341
342
343 @c **** TEX ****
344 @iftex
345
346 @macro rinternals{TEXT}
347 @vindex \TEXT\
348 @code{\TEXT\}
349 @end macro
350
351 @macro rglos {TEXT}
352 @vindex \TEXT\
353 @ref{\TEXT\,,,music-glossary,Glossaire}
354 @end macro
355
356 @macro rprogram{TEXT}
357 @ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme}
358 @end macro
359
360 @macro ruser{TEXT}
361 @ref{\TEXT\,,,lilypond.fr,Manuel de notation}
362 @end macro
363
364 @macro rlearning{TEXT}
365 @ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation}
366 @end macro
367
368 @macro rlsr{TEXT}
369 @ref{\TEXT\,,,lilypond-snippets,Exemples de code}
370 @end macro
371
372 @end iftex
373
374
375 @c Commands specific to translated docs
376
377 @c ugh, cannot set/define global variable 'translationof' in some way?
378 @iftex
379 @macro translationof{TEXT}
380 @end macro
381 @end iftex
382
383 @ifinfo
384 @macro
385 @macro translationof{TEXT}
386 @set translationof \TEXT\
387 @end macro
388 @end ifinfo
389
390 @c TODO when @translationof is used in translated docs
391 @c see if it's feasible to say @value{translationof}
392 @macro englishref
393 Cette section n'est pas encore encore traduite, veuillez
394 vous reporter à la documentation correspondante en anglais.
395 @end macro