]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
(Creating contexts):
[lilypond.git] / Documentation / user / macros.itexi
1 @c -*-texinfo-*-
2
3 @c Reference GLOSsary
4 @macro rglos {NAME}
5 @ifhtml
6 @c ugh: @ref assumes that external refs are split documents too
7 @html
8 <a style="text-decoration: none; color: inherit;" href="../music-glossary.html#\NAME\">\NAME\</a>@c
9 @end html
10 @end ifhtml
11 @ifnothtml
12 \NAME\@c
13 @end ifnothtml
14 @end macro
15
16
17 @ifnottex
18 @macro texisharp {word}
19 #
20 @end macro
21 @end ifnottex
22
23 @iftex
24 @macro texisharp {word}
25 @tex
26 $\\sharp$%
27 @end tex
28 @end macro
29 @end iftex
30
31 @ifnottex
32 @macro texiflat {word}
33 b
34 @end macro
35 @end ifnottex
36
37 @iftex
38 @macro texiflat {word}
39 @tex
40 $\\flat$%
41 @end tex
42 @end macro
43 @end iftex
44
45 @macro arrow{}
46 @iftex
47 @tex $\\Rightarrow$ @end tex@c
48 @end iftex
49 @ifhtml
50 @html
51 &rarr;
52 @end html
53 @end ifhtml
54 @ifinfo
55 -->
56 @end ifinfo
57 @end macro
58
59
60
61
62 @iftex
63 @macro separate 
64 @c I want some space over here,  not silly characters.
65 @tex
66 @end tex
67 @end macro
68 @end iftex
69
70 @c \heartsf was supposed to be filled?
71
72 @c center*** is broken?
73
74 @ifinfo
75 @macro separate
76
77 @quotation
78 @end quotation
79 @end macro
80 @end ifinfo
81
82 @ifhtml
83 @macro separate
84 @html
85 <p></p><br><br>
86 @end html
87 @end macro
88 @end ifhtml
89
90
91 @c dup?
92 @ifhtml
93 @macro internalsref{NAME}
94 @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
95 @cindex \NAME\@c
96 @end macro
97
98
99
100 @macro inputfileref{DIR,NAME}
101 @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
102 @end macro
103
104 @end ifhtml
105
106 @ifinfo
107 @macro internalsref{NAME}
108 @inforef{\NAME\,,lilypond-internals}@c
109 @cindex \NAME\@c
110 @end macro
111
112 @macro inputfileref{DIR,NAME}
113 @file{\DIR\/\NAME\}
114 @end macro
115
116 @end ifinfo
117
118 @iftex
119 @macro internalsref{NAME}@c
120 @cindex \NAME\@c
121 @code{\NAME\}@c
122 @end macro
123 @macro inputfileref{DIR,NAME}@c
124 @file{\DIR\/\NAME\}@c
125 @end macro
126 @end iftex
127
128
129 @iftex
130 @macro seeinternals{NAME}
131 internals document,  @internalsref{\NAME\}
132 @end macro
133 @end iftex
134
135 @ifnottex
136 @macro seeinternals{NAME}
137 @internalsref{\NAME\}
138 @end macro
139 @end ifnottex
140
141 @macro usermanref{NAME}
142 @ref{\NAME\}@c
143 @end macro
144
145 @macro refbugs
146 @noindent
147 @subsubheading Bugs
148
149 @end macro
150
151 @macro seealso
152 @noindent
153 @subsubheading See also
154
155 @end macro
156
157 @macro refcommands
158 @noindent
159 @subsubheading Predefined commands
160
161 @end macro
162
163 @macro context{NAME}
164 @code{NAME}@c should use internalsref
165 @cindex \NAME\@c
166 @end macro
167
168
169
170
171 @c
172 @c ARGGGHHHHH! I want
173 @c @cindex @code{@backslash\WHAT\}
174 @c how do I do that?
175 @c   --hwn
176
177 @macro refcommand{WHAT}
178 @cindex @code{\WHAT\}
179 @code{\WHAT\}, 
180 @end macro