* Documentation/user/macros.itexi: don't color glossary links.
[lilypond.git] / Documentation / user / macros.itexi
blob1bab2256ecb6809ed582e5c9492fe175fc517556
1 @c -*-texinfo-*-
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
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
30 @ifnottex
31 @macro texisharp {word}
33 @end macro
34 @end ifnottex
36 @iftex
37 @macro texisharp {word}
38 @tex
39 $\\sharp$%
40 @end tex
41 @end macro
42 @end iftex
44 @ifnottex
45 @macro texiflat {word}
47 @end macro
48 @end ifnottex
50 @iftex
51 @macro texiflat {word}
52 @tex
53 $\\flat$%
54 @end tex
55 @end macro
56 @end iftex
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
68 @c \heartsf was supposed to be filled?
70 @c center*** is broken?
72 @ifinfo
73 @macro separate
75 @quotation
76 @end quotation
77 @end macro
78 @end ifinfo
80 @ifhtml
81 @macro separate
82 @html
83 <p></p><br><br>
84 @end html
85 @end macro
86 @end ifhtml
89 @c dup?
90 @ifhtml
91 @macro internalsref{NAME}
92 @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
93 @cindex \NAME\@c
94 @end macro
96 @macro inputfileref{DIR,NAME}
97 @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
98 @end macro
100 @end ifhtml
102 @ifinfo
103 @macro internalsref{NAME}
104 @inforef{\NAME\,,lilypond-internals}@c
105 @cindex \NAME\@c
106 @end macro
108 @macro inputfileref{DIR,NAME}i
109 @file{\DIR\/\NAME\}
110 @end macro
112 @end ifinfo
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
125 @iftex
126 @macro seeinternals{NAME}
127 internals document,  @internalsref{\NAME\}
128 @end macro
129 @end iftex
131 @ifnottex
132 @macro seeinternals{NAME}
133 @internalsref{\NAME\}
134 @end macro
135 @end ifnottex
137 @macro refbugs
138 @noindent
139 @heading Bugs
141 @end macro
143 @macro seealso
144 @noindent
145 @heading See also
147 @end macro
149 @macro refcommands
150 @noindent
151 @heading Predefined commands
153 @end macro
157 @c ARGGGHHHHH! I want
158 @c @cindex @code{@backslash\WHAT\}
159 @c how do I do that?
160 @c   --hwn
162 @macro refcommand{WHAT}
163 @cindex @code{\WHAT\}
164 @code{\WHAT\}, 
165 @end macro
167 @macro syntax
168 @noindent
169 @heading Syntax
171 @end macro