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>
158 @c not strictly necessary, but it makes things easier for updating news
161 <div class="news-item">
166 @c keep the space for proper nesting of </p>
174 @macro imageClickable{IMAGE-FILE, EXT, MORE-TEXT, CLICK-FILE, CLICK-EXT, POSITION}
176 <div class="float-\POSITION\">
177 <a class="clickable" href="../pictures/\CLICK-FILE\.\CLICK-EXT\">
178 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
180 <p style="text-align: center">
186 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
189 @image{lilypond/pictures/\IMAGE-FILE\,,,\IMAGE-FILE\}
193 @macro imageFloat{IMAGE-FILE, EXT, POSITION}
195 <img class="float-\POSITION\" src="../pictures/\IMAGE-FILE\.\EXT\" alt="\IMAGE-FILE\">
198 @image{pictures/\IMAGE-FILE\,,,\IMAGE-FILE\,\EXT\}
201 @image{lilypond/pictures/\IMAGE-FILE\,,,\EXT\}
205 @macro imageId{ID, IMAGE-FILE, EXT, ALT}
208 <img src="../pictures/\IMAGE-FILE\.\EXT\" alt="\ALT\">
212 @image{pictures/\IMAGE-FILE\,,,\ALT\}
215 @image{lilypond/pictures/\IMAGE-FILE\,,,\ALT\}