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