]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/macros.itexi
* Documentation/user/macros.itexi: @inputfileref macro.
[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 fileref{DIR,NAME}
95 @uref{../../../\DIR\/out-www/collated-files.html#\NAME\}
96 @end macro
97 @end ifhtml
98
99 @ifinfo
100 @macro internalsref{NAME}
101 @inforef{\NAME\,,lilypond-internals}
102 @cindex \NAME\
103 @end macro
104
105 @macro fileref{DIR,NAME}
106 @file{\DIR\/\NAME\}
107 @end macro
108
109 @end ifinfo
110
111 @iftex
112 @macro internalsref{NAME}
113 @cindex \NAME\
114 @code{\NAME\}
115 @end macro
116 @macro fileref{DIR,NAME}
117 @file{\DIR\/\NAME\}
118 @end macro
119 @end iftex
120
121
122 @iftex
123 @macro seeinternals{NAME}
124 internals document,  @internalsref{\NAME\}
125 @end macro
126 @end iftex
127
128 @ifnottex
129 @macro seeinternals{NAME}
130 @internalsref{\NAME\}
131 @end macro
132 @end ifnottex