]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
($(outdir)/lilypond-internals/lilypond-internals.html): copy ly
[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 @uref{../music-glossary.html#\NAME\,\NAME\}@c
21 @end ifhtml
22 @ifnothtml
23 \NAME\@c
24 @end ifnothtml
25 @end macro
26
27
28 @ifnottex
29 @macro texisharp {word}
30 #
31 @end macro
32 @end ifnottex
33
34 @iftex
35 @macro texisharp {word}
36 @tex
37 $\\sharp$%
38 @end tex
39 @end macro
40 @end iftex
41
42 @ifnottex
43 @macro texiflat {word}
44 b
45 @end macro
46 @end ifnottex
47
48 @iftex
49 @macro texiflat {word}
50 @tex
51 $\\flat$%
52 @end tex
53 @end macro
54 @end iftex
55
56
57
58 @iftex
59 @macro separate 
60 @c I want some space over here,  not silly characters.
61 @tex
62 @end tex
63 @end macro
64 @end iftex
65
66 @c \heartsf was supposed to be filled?
67
68 @c center*** is broken?
69
70 @ifinfo
71 @macro separate
72
73 @quotation
74 @end quotation
75 @end macro
76 @end ifinfo
77
78 @ifhtml
79 @macro separate
80 @html
81 <p></p><br><br>
82 @end html
83 @end macro
84 @end ifhtml
85
86
87 @c dup?
88 @ifhtml
89 @macro internalsref{NAME}
90 @uref{../lilypond-internals/\NAME\.html,\NAME\}
91 @cindex \NAME\
92 @end macro
93
94 @macro inputfileref{DIR,NAME}
95 @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
96 @end macro
97
98 @end ifhtml
99
100 @ifinfo
101 @macro internalsref{NAME}
102 @inforef{\NAME\,,lilypond-internals}
103 @cindex \NAME\
104 @end macro
105
106 @macro inputfileref{DIR,NAME}i
107 @file{\DIR\/\NAME\}
108 @end macro
109
110 @end ifinfo
111
112 @iftex
113 @macro internalsref{NAME}
114 @cindex \NAME\
115 @code{\NAME\}
116 @end macro
117 @macro inputfileref{DIR,NAME}
118 @file{\DIR\/\NAME\}
119 @end macro
120 @end iftex
121
122
123 @iftex
124 @macro seeinternals{NAME}
125 internals document,  @internalsref{\NAME\}
126 @end macro
127 @end iftex
128
129 @ifnottex
130 @macro seeinternals{NAME}
131 @internalsref{\NAME\}
132 @end macro
133 @end ifnottex
134
135 @macro refbugs
136 @noindent
137 @strong{Bugs}
138
139 @noindent
140 @end macro
141
142 @macro seealso
143 @noindent
144 @strong{See also}
145
146 @noindent
147 @end macro
148
149 @macro syntax
150 @noindent
151 @strong{Syntax}
152
153 @noindent
154 @end macro