]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/macros.itexi
Moved thumb fingering info into refman.
[lilypond.git] / Documentation / user / macros.itexi
index bb7d7cacea3dc0b6f6bb2c76c4168cb8ac08d8da..ea010f304ff652415dd8439f0b430ddb782715c4 100644 (file)
@@ -1,43 +1,29 @@
-@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-*-
 
+@c Only reference in HTML.
+@macro htmlref {NAME}
+@ifhtml
+@ref{\NAME\}@c
+@end ifhtml
+@ifnothtml
+\NAME\@c
+@end ifnothtml
 @end macro
-@end ifnottex
 
-@iftex
-@macro rgrob {word}
-\word\
-@end macro
-@end iftex
 
 
-@ifnottex
-@macro rint {word}
-@ref{ (lilypond-internals)\word\, \word\ }
 
+@c Reference GLOSsary
+@macro rglos {NAME}
+@ifhtml
+@c ugh: @ref assumes that external refs are split documents too
+@uref{../music-glossary.html#\NAME\,\NAME\}@c
+@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 +34,7 @@
 @iftex
 @macro texisharp {word}
 @tex
-$\\sharp$
+$\\sharp$%
 @end tex
 @end macro
 @end iftex
@@ -62,7 +48,7 @@ b
 @iftex
 @macro texiflat {word}
 @tex
-$\\flat$
+$\\flat$%
 @end tex
 @end macro
 @end iftex
@@ -70,12 +56,10 @@ $\\flat$
 
 
 @iftex
-@macro separate
-
+@macro separate 
+@c I want some space over here,  not silly characters.
 @tex
-\medskip
 @end tex
-
 @end macro
 @end iftex
 
@@ -99,41 +83,72 @@ $\\flat$
 @end macro
 @end ifhtml
 
-@c netscape 4.x doesn't handle html chars 4.0 :-(
-@c <p></p><center>&hearts;</center><br>
-@c <p></p><center><font size="-1">*</font><font size="0">*</font><font size="-1">*</font></center><br>
 
-@ignore
+@c dup?
+@ifhtml
+@macro internalsref{NAME}
+@uref{../lilypond-internals/\NAME\.html,\NAME\}
+@cindex \NAME\
+@end macro
 
-@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 inputfileref{DIR,NAME}
+@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
+@end macro
 
-@macro c_ {word}
-\word\
-@node \word\
-@section \word\
+@end ifhtml
+
+@ifinfo
+@macro internalsref{NAME}
+@inforef{\NAME\,,lilypond-internals}
+@cindex \NAME\
 @end macro
 
-@macro c__ {word}
-\word\
-@menu
-* \word\::                      
-@end menu
+@macro inputfileref{DIR,NAME}i
+@file{\DIR\/\NAME\}
+@end macro
+
+@end ifinfo
 
-@node \word\
-@subsection \word\
+@iftex
+@macro internalsref{NAME}
+@cindex \NAME\
+@code{\NAME\}
+@end macro
+@macro inputfileref{DIR,NAME}
+@file{\DIR\/\NAME\}
 @end macro
+@end iftex
 
-@macro c___ {word}
-\word\
-@node \word\
-@unnumberedsubsubsection \word\
+
+@iftex
+@macro seeinternals{NAME}
+internals document,  @internalsref{\NAME\}
+@end macro
+@end iftex
+
+@ifnottex
+@macro seeinternals{NAME}
+@internalsref{\NAME\}
 @end macro
+@end ifnottex
+
+@macro refbugs
+@noindent
+@strong{Bugs}
+
+@noindent
+@end macro
+
+@macro seealso
+@noindent
+@strong{See also}
 
-@macro c_ {word}
+@noindent
 @end macro
 
-@end ignore
+@macro syntax
+@noindent
+@strong{Syntax}
 
+@noindent
+@end macro