X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fuser%2Fmacros.itexi;h=a00f9c07ffb9f0760351871c17a90b4c36852798;hb=7f9ae4e126b6b0a1ac64b1441712bf59442918d7;hp=8a47b637cf21fceebfe810c7269e4af150725c73;hpb=a31f7cf42ab5ac512242970e11538b179df01065;p=lilypond.git diff --git a/Documentation/user/macros.itexi b/Documentation/user/macros.itexi index 8a47b637cf..a00f9c07ff 100644 --- a/Documentation/user/macros.itexi +++ b/Documentation/user/macros.itexi @@ -25,13 +25,16 @@ @quotedblleft{}\TEXT\@quotedblright{} @end macro -@macro warning{TEXT} @ifhtml +@macro warning{TEXT} @cartouche @b{Note:} \TEXT\ @end cartouche +@end macro @end ifhtml + @ifnothtml +@macro warning{TEXT} @quotation @quotation @cartouche @@ -39,8 +42,8 @@ @end cartouche @end quotation @end quotation -@end ifnothtml @end macro +@end ifnothtml @ifnotinfo @macro notation{TEXT} @@ -106,6 +109,11 @@ @end macro +@macro lydoctitle {TEXT} +@emph{\TEXT\} + +@end macro + @macro funindex {TEXT} @findex \TEXT\ @kindex \TEXT\ @@ -115,41 +123,31 @@ @c **** Links and references **** -@c TO BE DEPRECATED -@c usage: @lsrdir{ancient,Ancient-notation} -@macro lsrdir{SECTION,DIR} -@ifhtml -@uref{source/input/lsr/lilypond-snippets/\DIR\.html,\SECTION\} -@end ifhtml -@ifnothtml -\DIR\ -@end ifnothtml -@end macro - - @c Definitions for references: @c @rglos @c @rlearning @c @ruser @c @rprogram -@c @rsnippets +@c @rlsr @c @rinternals +@c all these also have a @...named version, which allows to specify the +@c displayed text for the reference as second argument -@ifhtml -@c ***** HTML ***** +@c ***** HTML + bigpage is a special case (other manual names), all other +@c formats are treated similarly + +@ifnottex @ifset bigpage -@c TO BE DEPRECATED -@macro internalsref{TEXT} +@macro rglos{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals-big-page,Internals Reference} +@ref{\TEXT\,,,music-glossary-big-page,Music Glossary} @end macro - -@macro rglos{TEXT} +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary-big-page,Music Glossary} +@ref{\TEXT\,,\DISPLAY\,music-glossary-big-page,Music Glossary} @end macro @macro rlearning{TEXT} @@ -157,40 +155,62 @@ @ref{\TEXT\,,,lilypond-learning-big-page,Learning Manual} @end macro +@macro rlearningnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-learning-big-page,Learning Manual} +@end macro + @macro ruser{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,lilypond-big-page,Notation Reference} @end macro +@macro rusernamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-big-page,Notation Reference} +@end macro + @macro rprogram{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,lilypond-program-big-page,Application Usage} @end macro +@macro rprogramnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-program-big-page,Application Usage} +@end macro + @macro rlsr{TEXT} @ref{\TEXT\,,,lilypond-snippets-big-page,Snippets} @end macro +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets-big-page,Snippets} +@end macro + @macro rinternals{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,lilypond-internals-big-page,Internals Reference} @end macro +@macro rinternalsnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-internals-big-page,Internals Reference} +@end macro + @end ifset @ifclear bigpage -@c DEPRECATED -@macro internalsref{TEXT} +@macro rglos{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals,Internals Reference} +@ref{\TEXT\,,,music-glossary,Music Glossary} @end macro - -@macro rglos{TEXT} +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary,Music Glossary} +@ref{\TEXT\,,\DISPLAY\,music-glossary,Music Glossary} @end macro @macro rlearning{TEXT} @@ -198,154 +218,108 @@ @ref{\TEXT\,,,lilypond-learning,Learning Manual} @end macro -@macro ruser{TEXT} +@macro rlearningnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond,Notation Reference} +@ref{\TEXT\,,,lilypond-learning,Learning Manual} @end macro -@macro rprogram{TEXT} +@macro ruser{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program,Application Usage} +@ref{\TEXT\,,,lilypond,Notation Reference} @end macro -@macro rlsr{TEXT} -@ref{\TEXT\,,,lilypond-snippets,Snippets} +@macro rusernamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond,Notation Reference} @end macro -@macro rinternals{TEXT} +@macro rprogram{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals,Internals Reference} +@ref{\TEXT\,,,lilypond-program,Application Usage} @end macro -@end ifclear - -@end ifhtml - - -@ifdocbook -@c ***** DOCBOOK-XML ***** - -@c DEPRECATED -@macro internalsref{TEXT} +@macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals,Internals Reference} +@ref{\TEXT\,,\DISPLAY\,lilypond-program,Application Usage} @end macro - - -@macro rglos{TEXT} -@vindex \TEXT\ -@ref{\TEXT\,,,music-glossary,Music Glossary} +@macro rlsr{TEXT} +@ref{\TEXT\,,,lilypond-snippets,Snippets} @end macro -@macro rlearning{TEXT} -@vindex \TEXT\ -@ref{\TEXT\,,,lilypond-learning,Learning Manual} +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets,Snippets} @end macro -@macro ruser{TEXT} +@macro rinternals{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond,Notation Reference} +@ref{\TEXT\,,,lilypond-internals,Internals Reference} @end macro -@macro rprogram{TEXT} +@macro rinternalsnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program,Application Usage} +@ref{\TEXT\,,\DISPLAY\,lilypond-internals,Internals Reference} @end macro -@macro rlsr{TEXT} -@ref{\TEXT\,,,lilypond-snippets,Snippets} -@end macro +@end ifclear -@macro rinternals{TEXT} -@vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals,Internals Reference} -@end macro +@end ifnottex -@end ifdocbook -@ifinfo -@c **** INFO **** +@c **** TEX **** +@iftex -@c DEPRECATED -@macro internalsref{TEXT} +@macro rglos{TEXT} @vindex \TEXT\ -@inforef{\TEXT\,,lilypond-internals,Internals Reference} +@ref{\TEXT\,,,music-glossary,Music Glossary} @end macro - - -@macro rglos{TEXT} +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@inforef{\TEXT\,,music-glossary,Music Glossary} +@ref{\TEXT\,,\DISPLAY\,music-glossary,Music Glossary} @end macro @macro rlearning{TEXT} -@vindex \TEXT\ @ref{\TEXT\,,,lilypond-learning,Learning Manual} @end macro +@macro rlearningnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-learning,Learning Manual} +@end macro + @macro ruser{TEXT} -@vindex \TEXT\ @ref{\TEXT\,,,lilypond,Notation Reference} @end macro +@macro rusernamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond,Notation Reference} +@end macro + @macro rprogram{TEXT} -@vindex \TEXT\ @ref{\TEXT\,,,lilypond-program,Application Usage} @end macro -@macro rlsr{TEXT} -@ref{\TEXT\,,,lilypond-snippets,Snippets} +@macro rprogramnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-program,Application Usage} @end macro -@macro rinternals{TEXT} -@vindex \TEXT\ -@inforef{\TEXT\,,lilypond-internals,Internals Reference} +@macro rlsr{TEXT} +@ref{\TEXT\,,,lilypond-snippets,Snippets} @end macro -@end ifinfo - - -@c **** TEX **** -@iftex - -@c DEPRECATED -@macro internalsref{TEXT} -@vindex \TEXT\ -@code{\TEXT\} +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets,Snippets} @end macro - - -@macro rglos{TEXT} +@macro rinternals{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary,Music Glossary} -@end macro - -@macro rlearning{TEXT} -learning manual, @ref{\TEXT\,,,lilypond-learning,Learning Manual} -@end macro - -@macro ruser{TEXT} -notation reference, @ref{\TEXT\,,,lilypond,Notation Reference} -@end macro - -@macro rprogram{TEXT} -program usage manual, @ref{\TEXT\,,,lilypond-program,Application Usage} -@end macro - -@macro rlsr{TEXT} -@ref{\TEXT\,,,lilypond-snippets,Snippets} +@ref{\TEXT\,,,lilypond-internals,Internals Reference} @end macro -@macro rinternals{TEXT} +@macro rinternalsnamed{TEXT,DISPLAY} @vindex \TEXT\ -@code{\TEXT\} +@ref{\TEXT\,,\DISPLAY\,lilypond-internals,Internals Reference} @end macro @end iftex - - -@c EOF