-@c -*-texinfo-*-
+@c -*- coding: us-ascii; mode: texinfo; -*-
+@ignore
+ Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
-@tex
-\input feta20.tex
-\font\fetasixteen=feta16
-\def\fetafont{\fetasixteen}
-\def\fetachar#1{\hbox{\fetasixteen#1}}
-@end tex
+ When revising a translation, copy the HEAD committish of the
+ version that you are working on. See TRANSLATION for details.
+@end ignore
-@c Reference GLOSsary
-@macro rglos {NAME}
+@c **** all formats ****
+
+@macro refbugs
+@noindent
+@subsubheading Bugs
+
+@end macro
+
+@macro moreinfo
+@subheading More information
+
+@end macro
+
+@macro seealso
+@noindent
+@subsubheading See also
+
+@end macro
+
+@macro refcommands
+@noindent
+@subsubheading Predefined commands
+
+@end macro
+
+@macro context{NAME}
+@vindex \NAME\
+@code{\NAME\}@c should use internalsref
+@end macro
+
+@macro refcommand{WHAT}
+@vindex \WHAT\
+@code{\WHAT\}
+@end macro
+
+@macro commonprop
+@noindent
+@subsubheading Commonly tweaked properties
+
+@end macro
+
+@macro funindex {WORD}
+@findex \WORD\
+@kindex \WORD\
+@end macro
+
+
+
+@c *** Macros with variable output ***
+
+@c usage: @lsr{ancient,custodes.ly}
+@macro lsr{DIR,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
+ @uref{source/input/lsr/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
@end ifhtml
@ifnothtml
-\NAME\@c
+ @file{\DIR\/\NAME\}
@end ifnothtml
@end macro
+@macro lsrdir{DIR}
+@ifhtml
+ @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/}
+@end ifhtml
+@ifnothtml
+ @file{\DIR\}
+@end ifnothtml
+@end macro
-@ifnottex
- @macro texisharp {word}
- #
- @end macro
- @macro texiflat {word}
- b
- @end macro
-@end ifnottex
-@iftex
- @macro texiflat {word}
- @tex
- \\kern0.15em\\fetachar\\fetaflat
- @end tex
- @end macro
- @macro texisharp {word}
- @tex
- \\raise0.5ex\\fetachar\\fetasharp
- @end tex
- @end macro
-@end iftex
@macro arrow{}
@end macro
+@c we need this since @q{\} doesn't work with makeinfo 4.8 --
+@c say @q{@value{backslash}} instead
+@set backslash \
-@c dup?
-@ifhtml
- @c ***** HTML *****
+@ifhtml
+@c ***** HTML *****
-@macro internalsref{NAME}@c
-@c makeinfo-4.7 encodes html names
-@uref{../lilypond-internals/\NAME\.html,\NAME\}@c
-@c @inforef{} adds ``See'' to the sentence.
+@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 should we do this?
-@cindex @code{\NAME\}
+@c using @ref without punctuation is OK without for formats other than info
+
+@ifset bigpage
+
+@macro internalsref{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-internals-big-page}
@end macro
- @macro hyphenatedinternalsref{NAME,NODENAME}
- @c @uref{../lilypond-internals/\NODENAME\.html,\NAME\}@c
- @inforef{\NODENAME\,,lilypond-internals}@c
- @c should we do this?
- @cindex @code{\NAME\}
- @end macro
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary-big-page}
+@end macro
- @macro inputfileref{DIR,NAME}
- @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
- @end macro
+@macro rprogram{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-program-big-page}
+@end macro
-@end ifhtml
+@macro ruser{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-big-page}
+@end macro
-@c dup?
-@ifdocbook
+@end ifset
- @c ***** DOCBOOK-XML *****
- @macro internalsref{NAME}
- @c makeinfo-4.7 encodes html names
- @c @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
- @inforef{\NAME\,,lilypond-internals}@c
- @c should we do this?
- @cindex @code{\NAME\}
- @end macro
+@ifclear bigpage
- @macro hyphenatedinternalsref{NAME,NODENAME}
- @c @uref{../lilypond-internals/\NODENAME\.html,\NAME\}@c
- @inforef{\NODENAME\,,lilypond-internals}@c
- @c should we do this?
- @cindex @code{\NAME\}
- @end macro
+@macro internalsref{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-internals}
+@end macro
- @macro inputfileref{DIR,NAME}
- @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
- @end macro
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary}
+@end macro
-@end ifdocbook
+@macro rprogram{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-program}
+@end macro
-@ifinfo
+@macro ruser{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond}
+@end macro
+
+@end ifclear
+
+
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+@html
+‘\TEXT\’
+@end html
+@end macro
+
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+@html
+“\TEXT\”
+@end html
+@end macro
+
+@end ifhtml
+
+
+@ifdocbook
+@c ***** DOCBOOK-XML *****
-@c **** INFO ****
@macro internalsref{NAME}
-@inforef{\NAME\,,lilypond/lilypond-internals}@c
-@cindex \NAME\@c
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-internals}
@end macro
-@macro hyphenatedinternalsref{NAME,NODENAME}
-@c FIXME: suspicious info file name?
-@inforef{\NODENAME\,,lilypond-internals}@c
-@c should we do this?
-@cindex @code{\NAME\}
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary}
@end macro
-@macro inputfileref{DIR,NAME}
-@file{\DIR\/\NAME\}
+@macro rprogram{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-program}
@end macro
+@macro ruser{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond}
+@end macro
-@macro usermanref{NAME}
-@ref{\NAME\,,,lilypond/lilypond}@c
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+@xml
+‘\TEXT\’
+@end xml
@end macro
-@end ifinfo
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+@xml
+“\TEXT\”
+@end xml
+@end macro
-@iftex
-@c **** TEX ****
+@end ifdocbook
+
+
+@ifinfo
+@c **** INFO ****
-@macro internalsref{NAME}@c
-@cindex @code{\NAME\} @c
-@code{\NAME\}@c
+@macro internalsref{NAME}
+@vindex \NAME\
+@inforef{\NAME\,,lilypond-internals}
@end macro
-@macro inputfileref{DIR,NAME}@c
-@file{\DIR\/\NAME\}@c
+@macro rglos{NAME}
+@vindex \NAME\
+@inforef{\NAME\,,,music-glossary}
@end macro
-@macro hyphenatedinternalsref{NAME,NODENAME}
-@code{\NAME\}@c
-@c should we do this?
-@cindex @code{\NAME\} @c
+@macro usermanref{NAME}
+@inforef{\NAME\}
@end macro
+@macro rprogram{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond-program}
+@end macro
+@macro ruser{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,lilypond}
+@end macro
-@macro seeinternals{NAME}
-internals document, @internalsref{\NAME\}
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+`\TEXT\'
@end macro
-@end iftex
-@c **** not TEX ****
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+``\TEXT\''
+@end macro
-@ifnottex
- @macro seeinternals{NAME}
- @internalsref{\NAME\}
- @end macro
-@end ifnottex
+@end ifinfo
-@ifnotinfo
- @macro usermanref{NAME}
- @ref{\NAME\}@c
- @end macro
-@end ifnotinfo
-@macro refbugs
-@noindent
-@subsubheading Bugs
+@c **** TEX ****
+@iftex
+@macro internalsref{NAME}
+@vindex \NAME\
+@code{\NAME\}
@end macro
-@macro seealso
-@noindent
-@subsubheading See also
+@macro rglos {NAME}
+@vindex \NAME\
+@code{\NAME\}
+@end macro
+@macro seeinternals{NAME}
+internals document, @internalsref{\NAME\}
@end macro
-@macro refcommands
-@noindent
-@subsubheading Predefined commands
+@macro usermanref{NAME}
+user manual, @internalsref{\NAME\}
+@end macro
+@macro rprogram{NAME}
+program usage manual, @internalsref{\NAME\}
@end macro
-@macro context{NAME}@c
-@code{\NAME\}@c should use internalsref
-@cindex \NAME\@c
+@alias ruser=usermanref
+
+@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
-@c
-@c ARGGGHHHHH! I want
-@c @cindex @code{@backslash\WHAT\}
-@c how do I do that?
-@c --hwn
+@ifnottex
+@c **** not TEX ****
-@macro refcommand{WHAT}
-@cindex @code{\WHAT\}
-@code{\WHAT\},
+@macro seeinternals{NAME}
+@internalsref{\NAME\}
@end macro
+
+@ifnotinfo
+@macro usermanref{NAME}
+@ref{\NAME\}
+@end macro
+@end ifnotinfo
+
+@end ifnottex
+
+
+@c EOF