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 *****
141 <span style="text-decoration:blink">Help wanted:</span>
153 @macro divClass {CLASS}
155 <div class="\CLASS\">
160 @c keep the space for proper nesting of </p>
168 @c not strictly necessary, but it makes things easier for updating news
171 <div class="news-item">
176 @c keep the space for proper nesting of </p>
184 @macro imageClickable{IMAGE-FILE, EXT, MORE-TEXT, CLICK-FILE, CLICK-EXT, POSITION}
186 <div class="float-\POSITION\">
187 <a class="clickable" href="../pictures/\CLICK-FILE\.\CLICK-EXT\">
188 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
190 <p style="text-align: center">
196 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
199 @image{lilypond/pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
203 @macro imageFloat{IMAGE-FILE, EXT, POSITION}
205 <img class="float-\POSITION\" src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
208 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
211 @image{lilypond/pictures/\IMAGE-FILE\,,,\EXT\}
215 @macro imageId{ID, IMAGE-FILE, EXT, ALT}
218 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\ALT\">
222 @image{pictures/\IMAGE-FILE\,,,\ALT\}
225 @image{lilypond/pictures/\IMAGE-FILE\,,,\ALT\}