1 @c -*- coding: utf-8; mode: texinfo; -*-
4 @c ***********************************************
5 @c SEE MACRO DEFINITION GUIDELINES IN macros.itexi
6 @c ***********************************************
8 @c Don't replace quotes with directed quotes.
10 @set txicodequoteundirected
11 @set txicodequotebacktick
14 @c ***** Displaying text *****
16 @c We need this since @q{\} doesn't work with makeinfo 4.11 --
17 @c say @q{@bs{}} instead.
46 @c ***** Displaying images not generated by lilypond-book *****
48 @c Current installation setup of Info docs requires that all images are
49 @c expected to be found in the `lilypond/' subdirectory. `lilypond-book'
50 @c already generates proper @image commands for images of music; these
51 @c macro definitions do the same for other images.
55 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
56 @image{pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
63 @macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT}
64 @image{lilypond/pictures/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\}
70 @c ***** Headers *****
72 @ifclear snippets-sections
73 @macro lydoctitle {TEXT}
79 @c ***** Indexing *****
81 @c Don't remove the `@c' within the macro definition! See section 19.3,
82 @c `Macro Details and Caveats', in the texinfo info file for explanation.
84 @macro funindex {TEXT}
91 @c ***** Macros specific to translated docs *****
93 @c ugh, cannot set/define global variable 'translationof' in any way :-(
97 @macro translationof{TEXT}
104 @macro translationof{TEXT}
105 @set translationof \TEXT\
119 UNTRANSLATED NODE: IGNORE ME
133 @c ***** Macros specific to the web site *****
137 @c make link to bugfixes for news.itexi
138 @c use underscores for version: @bugfixes{2_13_13,}
139 @c use specifier arg when listing multiple versions
140 @c (see September 20, 2007 post for an example)
141 @macro bugfixes{version,specifier}
142 @uref{http://code.google.com/p/lilypond/issues/list?can=1&q=fixed_\version\&colspec=ID+Type+Status+Priority+Milestone+Owner+Summary,Bugfixes
152 @macro divClass {CLASS}
154 <div class="\CLASS\">
159 @c keep the space for proper nesting of </p>
168 @macro docLink{name,target,webLink}
169 @uref{../\target\, \name\}
173 @macro docLink{name,target,webLink}
174 @uref{\target\, \name\}
179 @macro docLink{name,target,webLink}
184 @macro miscLink{MISC-FILE,MISC-TEXT}
185 @uref{http://www.lilypond.org/website/misc/\MISC-FILE\,\MISC-TEXT\}
188 @macro spanClass {CLASS}
190 <span class="\CLASS\">
195 @c keep the space for proper nesting of </p>
203 @c not strictly necessary, but it makes things easier for updating news
206 <div class="news-item">
211 @c keep the space for proper nesting of </p>
219 @macro imageClickable{IMAGE-FILE, EXT, MORE-TEXT, CLICK-FILE, CLICK-EXT, POSITION}
221 <div class="float-\POSITION\">
222 <a class="clickable" href="pictures/\CLICK-FILE\.\CLICK-EXT\">
223 <img src="pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
225 <p style="text-align: center">
231 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
234 @image{lilypond/pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
238 @macro imageFloat{IMAGE-FILE, EXT, POSITION}
240 <img class="float-\POSITION\" src="pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
243 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
246 @image{lilypond/pictures/\IMAGE-FILE\,,,\EXT\}
250 @macro imageId{ID, IMAGE-FILE, EXT, ALT}
253 <img src="pictures/\IMAGE-FILE\.\EXT\" alt="\ALT\">
257 @image{pictures/\IMAGE-FILE\,,,\ALT\}
260 @image{lilypond/pictures/\IMAGE-FILE\,,,\ALT\}