]> 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
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 `\TEXT\'
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
72
73
74 @c   **** Headings in a doc subsection ****
75
76 @macro refcommands
77 @noindent
78 @subsubheading Predefined commands
79
80 @end macro
81
82 @macro commonprop
83 @noindent
84 @subsubheading Commonly tweaked properties
85
86 @end macro
87
88 @macro seealso
89 @noindent
90 @subsubheading See also
91
92 @end macro
93
94 @macro refbugs
95 @noindent
96 @subsubheading Bugs
97
98 @end macro
99
100
101 @macro context{TEXT}
102 @vindex \TEXT\
103 @code{\TEXT\}@c should use internalsref
104 @end macro
105
106 @macro refcommand{TEXT}
107 @vindex \TEXT\
108 @code{\TEXT\}
109 @end macro
110
111 @macro funindex {TEXT}
112 @findex \TEXT\
113 @kindex \TEXT\
114 @end macro
115
116
117
118 @c   **** Links and references ****
119
120 @c usage: @lsr{ancient,custodes.ly}
121 @macro lsr{DIR,TEXT}
122 @ifhtml
123 @uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}}
124 @end ifhtml
125 @ifnothtml
126 @file{\DIR\/\TEXT\}
127 @end ifnothtml
128 @end macro
129
130 @macro lsrdir{DIR}
131 @ifhtml
132 @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/}
133 @end ifhtml
134 @ifnothtml
135 @file{\DIR\}
136 @end ifnothtml
137 @end macro
138
139
140
141
142 @c  Definitions for references:
143 @c     @internalsref
144 @c     @rglos
145 @c     @rprogram
146 @c     @ruser
147 @c     @rlearning
148
149 @ifhtml
150 @c ***** HTML *****
151
152 @c makeinfo-4.7 encodes html names, which means that nodes that
153 @c contain nonalphanum characters will be broken links on the website.
154 @c @uref{../lilypond-internals/\TEXT\.html,\TEXT\}@c
155 @c @inforef{} adds ``See'' to the sentence, which is annoying, but
156 @c better than a broken link.
157 @c @inforef{\TEXT\,,lilypond-internals}@c
158 @c using @ref without punctuation is OK without for formats other than info
159
160 @ifset bigpage
161
162 @macro internalsref{TEXT}
163 @vindex \TEXT\
164 @ref{\TEXT\,,,lilypond-internals-big-page}
165 @end macro
166
167 @macro rglos{TEXT}
168 @vindex \TEXT\
169 @ref{\TEXT\,,,music-glossary-big-page}
170 @end macro
171
172 @macro rprogram{TEXT}
173 @vindex \TEXT\
174 @ref{\TEXT\,,,lilypond-program-big-page}
175 @end macro
176
177 @macro ruser{TEXT}
178 @vindex \TEXT\
179 @ref{\TEXT\,,,lilypond-big-page}
180 @end macro
181
182 @macro rlearning{TEXT}
183 @vindex \TEXT\
184 @ref{\TEXT\,,,lilypond-learning-big-page}
185 @end macro
186
187 @end ifset
188
189
190 @ifclear bigpage
191
192 @macro internalsref{TEXT}
193 @vindex \TEXT\
194 @ref{\TEXT\,,,lilypond-internals}
195 @end macro
196
197 @macro rglos{TEXT}
198 @vindex \TEXT\
199 @ref{\TEXT\,,,music-glossary}
200 @end macro
201
202 @macro rprogram{TEXT}
203 @vindex \TEXT\
204 @ref{\TEXT\,,,lilypond-program}
205 @end macro
206
207 @macro ruser{TEXT}
208 @vindex \TEXT\
209 @ref{\TEXT\,,,lilypond}
210 @end macro
211
212 @macro rlearning{TEXT}
213 @vindex \TEXT\
214 @ref{\TEXT\,,,lilypond-learning}
215 @end macro
216
217 @end ifclear
218
219 @end ifhtml
220
221
222 @ifdocbook
223 @c ***** DOCBOOK-XML *****
224
225 @macro internalsref{TEXT}
226 @vindex \TEXT\
227 @ref{\TEXT\,,,lilypond-internals}
228 @end macro
229
230 @macro rglos{TEXT}
231 @vindex \TEXT\
232 @ref{\TEXT\,,,music-glossary}
233 @end macro
234
235 @macro rprogram{TEXT}
236 @vindex \TEXT\
237 @ref{\TEXT\,,,lilypond-program}
238 @end macro
239
240 @macro ruser{TEXT}
241 @vindex \TEXT\
242 @ref{\TEXT\,,,lilypond}
243 @end macro
244
245 @macro rlearning{TEXT}
246 @vindex \TEXT\
247 @ref{\TEXT\,,,lilypond-learning}
248 @end macro
249
250 @end ifdocbook
251
252
253 @ifinfo
254 @c **** INFO ****
255
256 @macro internalsref{NAME}
257 @vindex \NAME\
258 @inforef{\NAME\,,lilypond-internals}
259 @end macro
260
261 @macro rglos{NAME}
262 @vindex \NAME\
263 @inforef{\NAME\,,music-glossary}
264 @end macro
265
266 @macro rprogram{TEXT}
267 @vindex \TEXT\
268 @ref{\TEXT\,,,lilypond-program}
269 @end macro
270
271 @macro ruser{TEXT}
272 @vindex \TEXT\
273 @ref{\TEXT\,,,lilypond}
274 @end macro
275
276 @macro rlearning{TEXT}
277 @vindex \TEXT\
278 @ref{\TEXT\,,,lilypond-learning}
279 @end macro
280
281 @end ifinfo
282
283
284 @c **** TEX ****
285 @iftex
286
287 @macro internalsref{TEXT}
288 @vindex \TEXT\
289 @code{\TEXT\}
290 @end macro
291
292 @macro rglos {TEXT}
293 @vindex \TEXT\
294 @code{\TEXT\}
295 @end macro
296
297 @macro rprogram{TEXT}
298 @emph{Manuel d'utilisation du programme, \TEXT\}
299 @end macro
300
301 @macro ruser{TEXT}
302 @emph{Manuel de l'utilisateur, \TEXT\}
303 @end macro
304
305 @macro rlearning{TEXT}
306 @emph{Manuel d'apprentissage du programme, \TEXT\}
307 @end macro
308
309 @end iftex
310
311
312 @c EOF