]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/macros.itexi
* lily/parser.yy: get rid off < > in markups by treating { } as
[lilypond.git] / Documentation / user / macros.itexi
index f9a42dce90c7f492c467ec605a80ec52dd5db190..c1b4cf442beffb96df34532432eb4b882b0899d6 100644 (file)
@@ -1,10 +1,10 @@
-@c -*-texinfo-*-
+@c -*- coding: latin-1; mode: texinfo; -*-
 
 @tex
 \input feta20.tex
-\font\fetasixteen=feta16
-\def\fetafont{\fetasixteen}
-\def\fetachar#1{\hbox{\fetasixteen#1}}
+\global\font\fetasixteen=feta16
+\gdef\fetafont{\fetasixteen}
+\gdef\fetachar#1{\hbox{\fetasixteen#1}}
 @end tex
 
 @c Reference GLOSsary
 @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.
-@inforef{\NAME\,,lilypond-internals}@c
+@c @inforef{\NAME\,,lilypond-internals}@c
+@c using @ref without punctuation is OK without for formats other than info
+@ref{\NAME\,,,lilypond-internals}@c
 @c should we do this? 
-@cindex @code{\NAME\}
+@findex \NAME\
 @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 inputfileref{DIR,NAME}
  @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
  @c @uref{../lilypond-internals/\NAME\.html,\NAME\}@c
  @inforef{\NAME\,,lilypond-internals}@c
  @c should we do this? 
- @cindex @code{\NAME\}
+ @findex @code{\NAME\}
  @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 inputfileref{DIR,NAME}
  @uref{../../../../\DIR\/out-www/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}@c
 @c **** INFO ****
 @macro internalsref{NAME}
 @inforef{\NAME\,,lilypond/lilypond-internals}@c
-@cindex \NAME\@c
+@findex \NAME\@c
 @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\}
-@end macro
 
 @macro inputfileref{DIR,NAME}
 @file{\DIR\/\NAME\}
 @c **** TEX ****
 
 @macro internalsref{NAME}@c
-@cindex @code{\NAME\} @c
+@findex \NAME\ @c
 @code{\NAME\}@c
 @end macro
 
 @macro inputfileref{DIR,NAME}@c
-@file{\DIR\/\NAME\}@c
+@file{\DIR\/@/\NAME\}@c
 @end macro
 
-@macro hyphenatedinternalsref{NAME,NODENAME}
-@code{\NAME\}@c
-@c should we do this? 
-@cindex @code{\NAME\} @c
-@end macro
-
-
 
 @macro seeinternals{NAME}
-internals document,  @internalsref{\NAME\}
+internals document, @internalsref{\NAME\}
 @end macro
 @end iftex
 
@@ -200,19 +177,27 @@ internals document,  @internalsref{\NAME\}
 
 @macro context{NAME}@c
 @code{\NAME\}@c should use internalsref
-@cindex \NAME\@c
+@findex \NAME\@c
 @end macro
 
+@c I want
+@c @cindex @code{@backslash\WHAT\}
+@c how do I do that?  --hwn
 
+@ignore
 
+Is this question still relevant?  With texinfo 4.7,
+escape the backslash, like so  --jcn
 
-@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
+
+@end ignore
 
 @macro refcommand{WHAT}
-@cindex @code{\WHAT\}
-@code{\WHAT\}, 
+@findex \WHAT\
+@code{\WHAT\} 
 @end macro
+