]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/user/macros.itexi
Begin Trevor's spacing chapter rewrite.
[lilypond.git] / Documentation / user / macros.itexi
index d19182bc2670af2ac6f5b6986afe6a5047c25c50..11b2b59bf13a56d3e21f78b105390e47fcf69cdc 100644 (file)
@@ -1,5 +1,22 @@
 @c -*- coding: latin-1; mode: texinfo; -*-
 
+@c FIXME: rearranged this file; macros that don't depend on the output
+@c format should go at the beginning.  -gp
+
+
+@c in retrospect this is _not_ one of the output-insensitive macros.
+@c I'll fix it soon.
+@c usage: @lsr{ancient,custodes.ly}
+@macro lsr{DIR,NAME}
+@uref{source/input/lsr/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}}
+@end macro
+
+@macro lsrdir{DIR}
+@uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}}
+@end macro
+
+
+
 @ifnottex
   @macro texisharp {word}
   #
 @c @inforef{\NAME\,,lilypond-internals}@c
 @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 rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary-big-page}
+@end macro
+
+@end ifset
+
+
+@ifclear bigpage
+
 @c annoying parentheses stripped by add-html-footer.py
 @macro internalsref{NAME}
 @vindex \NAME\
 @ref{\NAME\,,,lilypond-internals}
 @end macro
 
+@c annoying parentheses stripped by add-html-footer.py
+@macro rglos{NAME}
+@vindex \NAME\
+@ref{\NAME\,,,music-glossary}
+@end macro
+
+@end ifclear
+
+
 @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
 
-@c annoying parentheses stripped by add-html-footer.py
-@macro rglos{NAME}
-@vindex \NAME\
-@ref{\NAME\,,,music-glossary}
+@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
 @ref{\NAME\,,,music-glossary}
 @end macro
 
+@c to get decent quotes in `foo'
+@macro q{TEXT}
+@xml
+‘\TEXT\’
+@end xml
+@end macro
+
+@c to get decent quotes in ``foo''
+@macro qq{TEXT}
+@xml
+“\TEXT\”
+@end xml
+@end macro
+
 @end ifdocbook
 
 
 @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
 
 
@@ -142,8 +217,19 @@ internals document, @internalsref{\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 ****
 
@@ -168,6 +254,11 @@ user manual, @internalsref{\NAME\}
 
 @end macro
 
+@macro moreinfo
+@subheading More information
+
+@end macro
+
 @macro seealso
 @noindent
 @subsubheading See also
@@ -196,9 +287,9 @@ user manual, @internalsref{\NAME\}
 
 @end macro
 
-@c @macro funindex {WORD}
-@c @end macro
-@c @findex \WORD\
-@c @kindex \WORD\
-
+@macro funindex {WORD}
+@findex \WORD\
+@kindex \WORD\
+@end macro
 
+@c EOF