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