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