]> git.donarmstrong.com Git - lilypond.git/commitdiff
More macro simplifications.
authorGraham Percival <graham@percival-music.ca>
Sat, 15 Sep 2007 20:32:32 +0000 (13:32 -0700)
committerJohn Mandereau <john.mandereau@gmail.com>
Fri, 2 Nov 2007 08:39:00 +0000 (09:39 +0100)
Documentation/user/basic-notation.itely
Documentation/user/macros.itexi

index 593214733ac18292795d0a41d49905c0b5645df5..0ab04b7eb750c2241483c9f49131184546521c0f 100644 (file)
@@ -2198,7 +2198,7 @@ be achieved in LilyPond by setting @code{doubleSlurs},
 
 @seealso
 
-Program reference: @seeinternals{Slur}.
+Program reference: @internalsref{Slur}.
 
 
 @node Phrasing slurs
index 5ef01312bb9448d4967607d49121cabf38379cef..711ad408ece389ba732e92adddb610db601fc4b3 100644 (file)
@@ -62,6 +62,9 @@
 @c   Use inside the text
 
 @c to get decent quotes in `foo'
+
+@c I don't understand why this is necessary, but it is with 4.8. :/
+@ifnotdocbook
 @macro q{TEXT}
 @ifinfo
 `\TEXT\'
 &lsquo;\TEXT\&rsquo;
 @end html
 @end ifhtml
-@ignore
+@end macro
+@end ifnotdocbook
+
 @ifdocbook
+@macro q{TEXT}
 @xml
 &lsquo;\TEXT\&rsquo;
 @end xml
-@end docbook
-@end ignore
 @end macro
+@end ifdocbook
 
 
 @c to get decent quotes in ``foo''
+@c I don't understand why this is necessary, but it is with 4.8. :/
+@ifnotdocbook
 @macro qq{TEXT}
 @ifinfo
 ``\TEXT\''
 &ldquo;\TEXT\&rdquo;
 @end html
 @end ifhtml
-@ignore
+@end macro
+@end ifnotdocbook
+
 @ifdocbook
+@macro qq{TEXT}
 @xml
 &ldquo;\TEXT\&rdquo;
 @end xml
-@end docbook
-@end ignore
 @end macro
+@end ifdocbook
+
 
 
 
 
 
 
+@c  Definitions for references:
+@c     @internalsref
+@c     @rglos
+@c     @rprogram
+@c     @ruser
+@c     @rlearning
 
 @ifhtml
 @c ***** HTML *****
 @inforef{\TEXT\,,,music-glossary}
 @end macro
 
-@macro usermanref{TEXT}
-@inforef{\TEXT\}
-@end macro
-
-@macro learningref{TEXT}
-@inforef{\TEXT\}
-@end macro
-
 @macro rprogram{TEXT}
 @vindex \TEXT\
 @ref{\TEXT\,,,lilypond-program}
 @code{\TEXT\}
 @end macro
 
-@macro seeinternals{TEXT}
-internals document, @internalsref{\TEXT\}
+@macro rprogram{TEXT}
+program usage manual, @internalsref{\TEXT\}
 @end macro
 
-@macro usermanref{TEXT}
+@macro ruser{TEXT}
 user manual, @internalsref{\TEXT\}
 @end macro
 
-@macro learningref{TEXT}
+@macro rlearning{TEXT}
 learning manual, @internalsref{\TEXT\}
 @end macro
 
-@macro rprogram{TEXT}
-program usage manual, @internalsref{\TEXT\}
-@end macro
-
-@alias ruser=usermanref
-@alias rlearning=learningref
-
 @end iftex
 
 
-@ifnottex
-@c **** not TEX ****
-
-@macro seeinternals{TEXT}
-@internalsref{\TEXT\}
-@end macro
-
-@ifnotinfo
-@macro usermanref{TEXT}
-@ref{\TEXT\}
-@end macro
-
-@macro learningref{TEXT}
-@ref{\TEXT\}
-@end macro
-@end ifnotinfo
-
-@end ifnottex
-
-
 @c EOF