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