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