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