]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/macros.itexi
*** empty log message ***
[lilypond.git] / Documentation / user / macros.itexi
index 326a4d290f74748881ce3217f1438963a658c100..cbf3ce2acfc9fd1f70df316ae6cb0f744b2e4dde 100644 (file)
@@ -1,43 +1,25 @@
-@ifnottex
-@macro reng {word}
-@ref{ (lilypond-internals)\word\, \word\ }
-
-@end macro
-@end ifnottex
-
-@iftex
-@macro reng {word}
-\word\
-@end macro
-@end iftex
-
-
-@ifnottex
-@macro rgrob {word}
-@ref{ (lilypond-internals)\word\, \word\ }
+@c -*-texinfo-*-
 
-@end macro
-@end ifnottex
-
-@iftex
-@macro rgrob {word}
-\word\
-@end macro
-@end iftex
-
-
-@ifnottex
-@macro rint {word}
-@ref{ (lilypond-internals)\word\, \word\ }
+@tex
+\input feta20.tex
+\font\fetasixteen=feta16
+\def\fetafont{\fetasixteen}
+\def\fetachar#1{\hbox{\fetasixteen#1}}
+@end tex
 
+@c Reference GLOSsary
+@macro rglos {NAME}
+@ifhtml
+@c ugh: @ref assumes that external refs are split documents too
+@html
+<a style="text-decoration: none; color: inherit;" href="../music-glossary.html#\NAME\">\NAME\</a>@c
+@end html
+@end ifhtml
+@ifnothtml
+\NAME\@c
+@end ifnothtml
 @end macro
-@end ifnottex
 
-@iftex
-@macro rint {word}
-\word\
-@end macro
-@end iftex
 
 @ifnottex
 @macro texisharp {word}
@@ -48,7 +30,7 @@
 @iftex
 @macro texisharp {word}
 @tex
-$\\sharp$
+\\raise0.5ex\\fetachar\\fetasharp
 @end tex
 @end macro
 @end iftex
@@ -62,94 +44,62 @@ b
 @iftex
 @macro texiflat {word}
 @tex
-$\\flat$
+\\kern0.15em\\fetachar\\fetaflat
 @end tex
 @end macro
 @end iftex
 
-
-
+@macro arrow{}
 @iftex
-@macro separate 
-@c I want some space over here,  not silly characters.
-@tex
-@end tex
-@end macro
+@tex $\\Rightarrow$ @end tex@c
 @end iftex
-
-@c \heartsf was supposed to be filled?
-
-@c center*** is broken?
-
-@ifinfo
-@macro separate
-
-@quotation
-@end quotation
-@end macro
-@end ifinfo
-
 @ifhtml
-@macro separate
 @html
-<p></p><br><br>
+&rarr;
 @end html
-@end macro
 @end ifhtml
-
-@ignore
-
-@c Huh, do outline mode and texinfo really fight eachother?
-@c Outline can only use spaces to indent topic headers
-@c (or bullets, but then topics can't start with `@c').
-@c Texinfo can't have spaces in macro names.
-
-@macro c_ {word}
-\word\
-@node \word\
-@section \word\
+@ifinfo
+-->
+@end ifinfo
 @end macro
 
-@macro c__ {word}
-\word\
-@menu
-* \word\::                      
-@end menu
 
-@node \word\
-@subsection \word\
-@end macro
-
-@macro c___ {word}
-\word\
-@node \word\
-@unnumberedsubsubsection \word\
-@end macro
 
-@macro c_ {word}
+@c dup?
+@ifhtml
+@macro internalsref{NAME}
+@uref{../lilypond-internals/\NAME\.html,\NAME\}@c
+@c should we do this? 
+@cindex @code{\NAME\}
 @end macro
 
-@end ignore
 
 
-@ifhtml
-@macro internalsref{NAME}
-@uref{../lilypond-internals/\NAME\.html,\NAME\}
-@cindex \NAME\
+@macro inputfileref{DIR,NAME}
+@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
 @end macro
+
 @end ifhtml
 
 @ifinfo
 @macro internalsref{NAME}
-@inforef{\NAME\,,lilypond-internals}
-@cindex \NAME\
+@inforef{\NAME\,,lilypond/lilypond-internals}@c
+@cindex \NAME\@c
+@end macro
+
+@macro inputfileref{DIR,NAME}
+@file{\DIR\/\NAME\}
 @end macro
+
 @end ifinfo
 
 @iftex
-@macro internalsref{NAME}
-@cindex \NAME\
-@code{\NAME\}
+@macro internalsref{NAME}@c
+@cindex \NAME\@c
+@code{\NAME\}@c
+@end macro
+@macro inputfileref{DIR,NAME}@c
+@file{\DIR\/\NAME\}@c
 @end macro
 @end iftex
 
@@ -165,3 +115,52 @@ internals document,  @internalsref{\NAME\}
 @internalsref{\NAME\}
 @end macro
 @end ifnottex
+
+@ifinfo
+@macro usermanref{NAME}
+@ref{\NAME\,,,lilypond/lilypond}@c
+@end macro
+@end ifinfo
+
+@ifnotinfo
+@macro usermanref{NAME}
+@ref{\NAME\}@c
+@end macro
+@end ifnotinfo
+
+@macro refbugs
+@noindent
+@subsubheading Bugs
+
+@end macro
+
+@macro seealso
+@noindent
+@subsubheading See also
+
+@end macro
+
+@macro refcommands
+@noindent
+@subsubheading Predefined commands
+
+@end macro
+
+@macro context{NAME}@c
+@code{\NAME\}@c should use internalsref
+@cindex \NAME\@c
+@end macro
+
+
+
+
+@c
+@c ARGGGHHHHH! I want
+@c @cindex @code{@backslash\WHAT\}
+@c how do I do that?
+@c   --hwn
+
+@macro refcommand{WHAT}
+@cindex @code{\WHAT\}
+@code{\WHAT\}, 
+@end macro