]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/macros.itexi
More macro simplifications.
[lilypond.git] / Documentation / user / macros.itexi
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\'
 ‘\TEXT\’
 @end html
 @end ifhtml
-@ignore
+@end macro
+@end ifnotdocbook
+
 @ifdocbook
+@macro q{TEXT}
 @xml
 ‘\TEXT\’
 @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\''
 “\TEXT\”
 @end html
 @end ifhtml
-@ignore
+@end macro
+@end ifnotdocbook
+
 @ifdocbook
+@macro qq{TEXT}
 @xml
 “\TEXT\”
 @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