-@c -*-texinfo-*-
-
-@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
-
+@c -*- coding: latin-1; mode: texinfo; -*-
@ifnottex
-@macro texisharp {word}
-#
-@end macro
+ @macro texisharp {word}
+ #
+ @end macro
+ @macro texiflat {word}
+ b
+ @end macro
@end ifnottex
+@c FIXME, use \fetaaccidentalsXMC?
+@c \\kern0.15em\\fetachar\\fetaflat
@iftex
-@macro texisharp {word}
-@tex
-$\\sharp$%
-@end tex
-@end macro
+ @macro texiflat {word}
+ @tex
+ FIXME: fetaflat
+ @end tex
+ @end macro
+@c FIXME, use \fetaaccidentalsXC?
+@c \\raise0.5ex\\fetachar\\fetasharp
+ @macro texisharp {word}
+ @tex
+ FIXME: fetasharp
+ @end tex
+ @end macro
@end iftex
-@ifnottex
-@macro texiflat {word}
-b
-@end macro
-@end ifnottex
+@macro arrow{}
@iftex
-@macro texiflat {word}
-@tex
-$\\flat$%
-@end tex
-@end macro
+@tex $\\Rightarrow$ @end tex@c
@end iftex
+@ifhtml
+@html
+→
+@end html
+@end ifhtml
+@ifinfo
+-->
+@end ifinfo
+@end macro
+@ifhtml
+@c ***** HTML *****
-@iftex
-@macro separate
-@c I want some space over here, not silly characters.
-@tex
-@end tex
-@end macro
-@end iftex
+@c makeinfo-4.7 encodes html names, which means that nodes that
+@c contain nonalphanum characters will be broken links on the website.
+@c @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
+@c @inforef{} adds ``See'' to the sentence, which is annoying, but
+@c better than a broken link.
+@c @inforef{\NAME\,,lilypond-internals}@c
+@c using @ref without punctuation is OK without for formats other than info
-@c \heartsf was supposed to be filled?
+@c annoying parentheses stripped by add-html-footer.py
+@macro internalsref{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-internals}
+@end macro
-@c center*** is broken?
+@c usage: @inputfileref{input@/regression,FILE@/-NAME.ly}
+@macro inputfileref{DIR,NAME}
+@uref{source/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
+@end macro
-@ifinfo
-@macro separate
+@c annoying parentheses stripped by add-html-footer.py
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary}
+@end macro
-@quotation
-@end quotation
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+@html
+‘\TEXT\’
+@end html
@end macro
-@end ifinfo
-@ifhtml
-@macro separate
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
@html
-<p></p><br><br>
+“\TEXT\”
@end html
@end macro
+
@end ifhtml
-@c dup?
-@ifhtml
+@ifdocbook
+@c ***** DOCBOOK-XML *****
+
@macro internalsref{NAME}
-@uref{../lilypond-internals/\NAME\.html,\NAME\}@c
-@cindex \NAME\@c
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-internals}
@end macro
+@macro inputfileref{DIR,NAME}
+@uref{source/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
+@end macro
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary}
+@end macro
-@macro inputfileref{DIR,NAME}
-@uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+@xml
+‘\TEXT\’
+@end xml
@end macro
-@end ifhtml
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+@xml
+“\TEXT\”
+@end xml
+@end macro
+
+@end ifdocbook
+
@ifinfo
+@c **** INFO ****
+
@macro internalsref{NAME}
-@inforef{\NAME\,,lilypond-internals}@c
-@cindex \NAME\@c
+@vindex \NAME\
+@inforef{\NAME\,,lilypond-internals}
@end macro
@macro inputfileref{DIR,NAME}
@file{\DIR\/\NAME\}
@end macro
+@macro rglos{NAME}@c
+@vindex \NAME\
+@inforef{\NAME\,,,music-glossary}
+@end macro
+
+@macro usermanref{NAME}
+@inforef{\NAME\}
+@end macro
+
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+`\TEXT\'
+@end macro
+
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+``\TEXT\''
+@end macro
+
@end ifinfo
+
+@c **** TEX ****
@iftex
-@macro internalsref{NAME}@c
-@cindex \NAME\@c
-@code{\NAME\}@c
+
+@macro internalsref{NAME}
+@vindex \NAME\
+@code{\NAME\}
@end macro
-@macro inputfileref{DIR,NAME}@c
-@file{\DIR\/\NAME\}@c
+
+@macro inputfileref{DIR,NAME}
+@file{\DIR\/@/\NAME\}
@end macro
-@end iftex
+@macro rglos {NAME}
+@vindex \NAME\
+@code{\NAME\}
+@end macro
-@iftex
@macro seeinternals{NAME}
-internals document, @internalsref{\NAME\}
+internals document, @internalsref{\NAME\}
+@end macro
+
+@macro usermanref{NAME}
+user manual, @internalsref{\NAME\}
@end macro
+
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+`\TEXT\'
+@end macro
+
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+``\TEXT\''
+@end macro
+
@end iftex
+
@ifnottex
+@c **** not TEX ****
+
@macro seeinternals{NAME}
@internalsref{\NAME\}
@end macro
-@end ifnottex
+@ifnotinfo
@macro usermanref{NAME}
-@ref{\NAME\}@c
+@ref{\NAME\}
@end macro
+@end ifnotinfo
+
+@end ifnottex
+
+
+@c **** ALL ****
@macro refbugs
@noindent
@end macro
-
-@c
-@c ARGGGHHHHH! I want
-@c @cindex @code{@backslash\WHAT\}
-@c how do I do that?
-@c --hwn
+@macro context{NAME}
+@vindex \NAME\
+@code{\NAME\}@c should use internalsref
+@end macro
@macro refcommand{WHAT}
-@cindex @code{\WHAT\}
-@code{\WHAT\},
+@vindex \WHAT\
+@code{\WHAT\}
@end macro
-@macro syntax
+@macro commonprop
@noindent
-@subsubheading Syntax
+@subsubheading Commonly tweaked properties
+
+@end macro
+@macro funindex {WORD}
+@findex \WORD\
+@kindex \WORD\
@end macro
+@c EOF