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 *****
143 @macro divClass {CLASS}
145 <div class="\CLASS\">
150 @c keep the space for proper nesting of </p>
157 @macro spanClass {CLASS}
159 <span class="\CLASS\">
164 @c keep the space for proper nesting of </p>
172 @c not strictly necessary, but it makes things easier for updating news
175 <div class="news-item">
180 @c keep the space for proper nesting of </p>
188 @macro imageClickable{IMAGE-FILE, EXT, MORE-TEXT, CLICK-FILE, CLICK-EXT, POSITION}
190 <div class="float-\POSITION\">
191 <a class="clickable" href="../pictures/\CLICK-FILE\.\CLICK-EXT\">
192 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
194 <p style="text-align: center">
200 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
203 @image{lilypond/pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
207 @macro imageFloat{IMAGE-FILE, EXT, POSITION}
209 <img class="float-\POSITION\" src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
212 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
215 @image{lilypond/pictures/\IMAGE-FILE\,,,\EXT\}
219 @macro imageId{ID, IMAGE-FILE, EXT, ALT}
222 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\ALT\">
226 @image{pictures/\IMAGE-FILE\,,,\ALT\}
229 @image{lilypond/pictures/\IMAGE-FILE\,,,\ALT\}