]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/de/user/macros.itexi
Use doctitle header field of LSR snippets
[lilypond.git] / Documentation / de / user / macros.itexi
1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @ignore
3     Translation of GIT committish: db57f02c46305a587071dfb73a51bd8250df2482
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 @include version.itexi
11
12
13 @c   ***** Displaying text *****
14
15 @c we need this since @q{\} doesn't work with makeinfo 4.8 --
16 @c say @q{@value{backslash}} instead
17 @set backslash \
18
19 @c to get decent quotes in `foo' and ``foo''
20 @c  these need to be split up so that "@qq{foo}." looks nice.  :(
21 @macro q{TEXT}
22 @quotesinglbase{}\TEXT\@quoteleft{}
23 @end macro
24
25 @macro qq{TEXT}
26 @quotedblbase{}\TEXT\@quotedblleft{}
27 @end macro
28
29 @macro warning{TEXT}
30 @quotation
31 @quotation
32 @cartouche
33 @b{Achtung:} \TEXT\
34 @end cartouche
35 @end quotation
36 @end quotation
37 @end macro
38
39 @ifnotinfo
40 @macro notation{TEXT}
41 @var{\TEXT\}
42 @end macro
43 @end ifnotinfo
44
45 @ifinfo
46 @macro notation{TEXT}
47 \TEXT\
48 @end macro
49 @end ifinfo
50
51 @macro smallspace
52 @sp 1
53 @end macro
54
55
56 @c   **** Displaying images not generated by lilypond-book
57
58 @c current installation setup of Info docs requires that all images are
59 @c expected to be found in lilypond/ subdirectory.  lilypond-book already
60 @c generates proper @image commands for images of music; these macros
61 @c definitions do the same for other images.
62
63 @ifnotinfo
64 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
65 @image{\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
66 @end macro
67 @end ifnotinfo
68
69 @ifinfo
70 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
71 @image{lilypond/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
72 @end macro
73 @end ifinfo
74
75
76
77 @c   **** Headings in a doc subsection ****
78
79 @macro predefined
80 @noindent
81 @subsubheading Predefined commands
82
83 @end macro
84
85 @macro snippets
86 @noindent
87 @subsubheading Selected Snippets
88
89 @end macro
90
91 @c obsolete, remove when translation is fully updated
92 @macro commonprop
93 @noindent
94 @subsubheading Commonly tweaked properties
95
96 @end macro
97
98 @macro seealso
99 @noindent
100 @subsubheading See also
101
102 @end macro
103
104 @macro knownissues
105 @noindent
106 @subsubheading Known issues and warnings
107
108 @end macro
109
110 @c obsolete, remove when translation is fully updated
111 @macro context{TEXT}
112 @vindex \TEXT\
113 @code{\TEXT\}@c should use internalsref
114 @end macro
115
116 @macro lydoctitle {TEXT}
117 @emph{\TEXT\}
118
119 @end macro
120
121 @macro funindex {TEXT}
122 @findex \TEXT\
123 @kindex \TEXT\
124 @end macro
125
126
127
128 @c   **** Links and references ****
129
130 @c obsolete
131 @c usage: @lsr{ancient,custodes.ly}
132 @macro lsr{DIR,TEXT}
133 @ifhtml
134 @uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}}
135 @end ifhtml
136 @ifnothtml
137 @file{\DIR\/\TEXT\}
138 @end ifnothtml
139 @end macro
140
141 @c don't update until this macro is correctly set up in English docs
142 @macro lsrdir{DIR}
143 @ifhtml
144 @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/}
145 @end ifhtml
146 @ifnothtml
147 @file{\DIR\}
148 @end ifnothtml
149 @end macro
150
151
152
153
154 @c  Definitions for references:
155 @c     @internalsref
156 @c     @rglos
157 @c     @rprogram
158 @c     @ruser
159 @c     @rlearning
160
161 @ifhtml
162 @c ***** HTML *****
163
164 @ifset bigpage
165
166 @macro internalsref{TEXT}
167 @vindex \TEXT\
168 @ref{\TEXT\,,,lilypond-internals-big-page,Programmreferenz}
169 @end macro
170
171 @macro rglos{TEXT}
172 @vindex \TEXT\
173 @ref{\TEXT\,,,music-glossary-big-page,Glossar}
174 @end macro
175
176 @macro rprogram{TEXT}
177 @vindex \TEXT\
178 @ref{\TEXT\,,,lilypond-program-big-page,Programmbenutzung}
179 @end macro
180
181 @macro ruser{TEXT}
182 @vindex \TEXT\
183 @ref{\TEXT\,,,lilypond-big-page,Benutzerhandbuch}
184 @end macro
185
186 @macro rlearning{TEXT}
187 @vindex \TEXT\
188 @ref{\TEXT\,,,lilypond-learning-big-page,Handbuch zum Lernen}
189 @end macro
190
191 @end ifset
192
193
194 @ifclear bigpage
195
196 @macro internalsref{TEXT}
197 @vindex \TEXT\
198 @ref{\TEXT\,,,lilypond-internals,Programmreferenz}
199 @end macro
200
201 @macro rglos{TEXT}
202 @vindex \TEXT\
203 @ref{\TEXT\,,,music-glossary,Glossar}
204 @end macro
205
206 @macro rprogram{TEXT}
207 @vindex \TEXT\
208 @ref{\TEXT\,,,lilypond-program,Programmbenutzung}
209 @end macro
210
211 @macro ruser{TEXT}
212 @vindex \TEXT\
213 @ref{\TEXT\,,,lilypond,Benutzerhandbuch}
214 @end macro
215
216 @macro rlearning{TEXT}
217 @vindex \TEXT\
218 @ref{\TEXT\,,,lilypond-learning,Handbuch zum Lernen}
219 @end macro
220
221 @end ifclear
222
223 @end ifhtml
224
225
226 @ifdocbook
227 @c ***** DOCBOOK-XML *****
228
229 @macro internalsref{TEXT}
230 @vindex \TEXT\
231 @ref{\TEXT\,,,lilypond-internals,Programmreferenz}
232 @end macro
233
234 @macro rglos{TEXT}
235 @vindex \TEXT\
236 @ref{\TEXT\,,,music-glossary,Glossar}
237 @end macro
238
239 @macro rprogram{TEXT}
240 @vindex \TEXT\
241 @ref{\TEXT\,,,lilypond-program,Programmbenutzung}
242 @end macro
243
244 @macro ruser{TEXT}
245 @vindex \TEXT\
246 @ref{\TEXT\,,,lilypond,Benutzerhandbuch}
247 @end macro
248
249 @macro rlearning{TEXT}
250 @vindex \TEXT\
251 @ref{\TEXT\,,,lilypond-learning,Handbuch zum Lernen}
252 @end macro
253
254 @end ifdocbook
255
256
257 @ifinfo
258 @c **** INFO ****
259
260 @macro internalsref{NAME}
261 @vindex \NAME\
262 @inforef{\NAME\,,lilypond-internals,Programmreferenz}
263 @end macro
264
265 @macro rglos{NAME}
266 @vindex \NAME\
267 @inforef{\NAME\,,music-glossary,Glossar}
268 @end macro
269
270 @macro rprogram{TEXT}
271 @vindex \TEXT\
272 @ref{\TEXT\,,,lilypond-program,Programmbenutzung}
273 @end macro
274
275 @macro ruser{TEXT}
276 @vindex \TEXT\
277 @ref{\TEXT\,,,lilypond,Benutzerhandbuch}
278 @end macro
279
280 @macro rlearning{TEXT}
281 @vindex \TEXT\
282 @ref{\TEXT\,,,lilypond-learning,Handbuch zum Lernen}
283 @end macro
284
285 @end ifinfo
286
287
288 @c **** TEX ****
289 @iftex
290
291 @macro internalsref{TEXT}
292 @vindex \TEXT\
293 @code{\TEXT\}
294 @end macro
295
296 @macro rglos {TEXT}
297 @vindex \TEXT\
298 @ref{\TEXT\,,,music-glossary,Glossar}
299 @end macro
300
301 @macro rprogram{TEXT}
302 @ref{\TEXT\,,,lilypond-program.de,Programmbenutzung}
303 @end macro
304
305 @macro ruser{TEXT}
306 @ref{\TEXT\,,,lilypond.de,Benutzerhandbuch}
307 @end macro
308
309 @macro rlearning{TEXT}
310 @ref{\TEXT\,,,lilypond-learning.de,Handbuch zum Lernen}
311 @end macro
312
313 @end iftex
314
315 @c Commands specific to translated docs
316
317 @c ugh, cannot set/define global variable 'translationof' in some way?
318 @iftex
319 @macro translationof{TEXT}
320 @end macro
321 @end iftex
322
323 @ifinfo
324 @macro
325 @macro translationof{TEXT}
326 @set translationof \TEXT\
327 @end macro
328 @end ifinfo
329
330 @c TODO when @translationof is used in translated docs
331 @c see if it's feasible to say @value{translationof}
332 @macro englishref
333 Dieser Abschnitt wurde noch nicht übersetzt, bitte lesen Sie den
334 Abschnitt im englischen Benutzerhandbuch.
335 @end macro
336