]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
* Actually merge changes since 1.6.4 besides ChangeLog, and
[lilypond.git] / Documentation / user / macros.itexi
1 @c -*-texinfo-*-
2
3 @c Only reference in HTML.
4 @macro htmlref {NAME}
5 @ifhtml
6 @ref{\NAME\}@c
7 @end ifhtml
8 @ifnothtml
9 \NAME\@c
10 @end ifnothtml
11 @end macro
12
13
14 @c Reference ENGraver description
15 @ifnottex
16 @macro reng {word}
17 @ref{ (lilypond-internals)\word\, \word\ }
18
19 @end macro
20 @end ifnottex
21
22 @iftex
23 @macro reng {word}
24 \word\
25 @end macro
26 @end iftex
27
28
29 @c Reference GROB description
30 @ifnottex
31 @macro rgrob {word}
32 @ref{ (lilypond-internals)\word\, \word\ }
33
34 @end macro
35 @end ifnottex
36
37 @iftex
38 @macro rgrob {word}
39 \word\
40 @end macro
41 @end iftex
42
43
44 @c Reference INTernals document
45 @ifnottex
46 @macro rint {word}
47 @ref{ (lilypond-internals)\word\, \word\ }
48
49 @end macro
50 @end ifnottex
51
52 @iftex
53 @macro rint {word}
54 \word\
55 @end macro
56 @end iftex
57
58
59 @c Reference GLOSsary
60 @macro rglos {NAME}
61 @ifhtml
62 @c ugh: @ref assumes that external refs are split documents too
63 @uref{../music-glossary.html#\NAME\,\NAME\}@c
64 @end ifhtml
65 @ifnothtml
66 \NAME\@c
67 @end ifnothtml
68 @end macro
69
70
71 @ifnottex
72 @macro texisharp {word}
73 #
74 @end macro
75 @end ifnottex
76
77 @iftex
78 @macro texisharp {word}
79 @tex
80 $\\sharp$%
81 @end tex
82 @end macro
83 @end iftex
84
85 @ifnottex
86 @macro texiflat {word}
87 b
88 @end macro
89 @end ifnottex
90
91 @iftex
92 @macro texiflat {word}
93 @tex
94 $\\flat$%
95 @end tex
96 @end macro
97 @end iftex
98
99
100
101 @iftex
102 @macro separate 
103 @c I want some space over here,  not silly characters.
104 @tex
105 @end tex
106 @end macro
107 @end iftex
108
109 @c \heartsf was supposed to be filled?
110
111 @c center*** is broken?
112
113 @ifinfo
114 @macro separate
115
116 @quotation
117 @end quotation
118 @end macro
119 @end ifinfo
120
121 @ifhtml
122 @macro separate
123 @html
124 <p></p><br><br>
125 @end html
126 @end macro
127 @end ifhtml
128
129
130 @c dup?
131 @ifhtml
132 @macro internalsref{NAME}
133 @uref{../lilypond-internals/\NAME\.html,\NAME\}
134 @cindex \NAME\
135 @end macro
136 @end ifhtml
137
138 @ifinfo
139 @macro internalsref{NAME}
140 @inforef{\NAME\,,lilypond-internals}
141 @cindex \NAME\
142 @end macro
143 @end ifinfo
144
145 @iftex
146 @macro internalsref{NAME}
147 @cindex \NAME\
148 @code{\NAME\}
149 @end macro
150 @end iftex
151
152
153 @iftex
154 @macro seeinternals{NAME}
155 internals document,  @internalsref{\NAME\}
156 @end macro
157 @end iftex
158
159 @ifnottex
160 @macro seeinternals{NAME}
161 @internalsref{\NAME\}
162 @end macro
163 @end ifnottex