X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fmacros.itexi;h=c177f7a9aa483de7145f8c20a1e9d0b9fcb28a1b;hb=0cafb00c0023523503bc57644ac334eda127eaad;hp=5886d77b466deeb7947f0f76e74da8f4b0ef3581;hpb=23417e5ae21dbd5756dbf3c36983e97d25088a65;p=lilypond.git diff --git a/Documentation/macros.itexi b/Documentation/macros.itexi index 5886d77b46..c177f7a9aa 100644 --- a/Documentation/macros.itexi +++ b/Documentation/macros.itexi @@ -1,15 +1,28 @@ -@c -*- coding: us-ascii; mode: texinfo; -*- +@c -*- coding: utf-8; mode: texinfo; -*- @ignore Translation of GIT committish: FILL-IN-HEAD-COMMITTISH When revising a translation, copy the HEAD committish of the - version that you are working on. See TRANSLATION for details. + version that you are working on. For details, see the Contributors' + Guide, node Updating translation committishes.. @end ignore @include version.itexi @include common-macros.itexi +@ignore +**************************** +MACRO DEFINITIONS GUIDELINES +**************************** + +This file should contain macro defintions which are common to all +languages, i.e. all macro definitions which do not contain text that +should be translated (namely text visible in the output). + +Macro definitions which contain text that should be translated in +translations should be in macros.itexi. +@end ignore @c ***** Displaying text ***** @@ -31,6 +44,8 @@
@end html @strong{Note:} \TEXT\ +@c keep the space for proper nesting of

+ @html
@end html @@ -57,7 +72,7 @@ @cartouche For more information about how this manual fits with the other documentation, or to read this manual in other formats, see -@rgeneral{Manuals}. +@rweb{Manuals}. If you are missing any manuals, the complete documentation can be found at @w{@uref{http://@/www@/.lilypond@/.org/}}. @@ -125,7 +140,7 @@ This document has been placed in the public domain. @vskip 0pt plus 1filll -@insertcopying{} +@insertcopying For LilyPond version @version{} @end titlepage @@ -182,7 +197,7 @@ For LilyPond version @version{} @c Definitions for references: @c -@c @rgeneral +@c @rweb @c @ressay @c @rglos @c @rinternals @@ -191,6 +206,7 @@ For LilyPond version @version{} @c @rprogram @c @ruser @c @rchanges +@c @rextend @c @rcontrib @c @c All these also have a @...named version which allows to specify the @@ -238,6 +254,16 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,notation-big-page,Notation Reference} @end macro +@macro rextend{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,extending-big-page,Extending} +@end macro + +@macro rextendnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,extending-big-page,Extending} +@end macro + @macro rchanges{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,changes-big-page,Changes} @@ -258,14 +284,14 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,contributor-big-page,Contributor's Guide} @end macro -@macro rgeneral{TEXT} +@macro rweb{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,general-big-page,General Information} +@ref{\TEXT\,,,web-big-page,General Information} @end macro -@macro rgeneralnamed{TEXT,DISPLAY} +@macro rwebnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,general-big-page,General Information} +@ref{\TEXT\,,\DISPLAY\,web-big-page,General Information} @end macro @macro ressay{TEXT} @@ -280,12 +306,12 @@ For LilyPond version @version{} @macro rprogram{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,application-big-page,Application Usage} +@ref{\TEXT\,,,usage-big-page,Application Usage} @end macro @macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,application-big-page,Application Usage} +@ref{\TEXT\,,\DISPLAY\,usage-big-page,Application Usage} @end macro @macro rlsr{TEXT} @@ -355,6 +381,16 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,changes,Changes} @end macro +@macro rextend{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,extending,Extending} +@end macro + +@macro rextendnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,extending,Extending} +@end macro + @macro rcontrib{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,contributor,Contributor's Guide} @@ -365,14 +401,14 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,contributor,Contributor's Guide} @end macro -@macro rgeneral{TEXT} +@macro rweb{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,,web,General Information} @end macro -@macro rgeneralnamed{TEXT,DISPLAY} +@macro rwebnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,general,General Information} +@ref{\TEXT\,,\DISPLAY\,web,General Information} @end macro @macro ressay{TEXT} @@ -387,12 +423,12 @@ For LilyPond version @version{} @macro rprogram{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,application,Application Usage} +@ref{\TEXT\,,,usage,Application Usage} @end macro @macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,application,Application Usage} +@ref{\TEXT\,,\DISPLAY\,usage,Application Usage} @end macro @macro rlsr{TEXT} @@ -457,6 +493,16 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,lilypond-changes,Changes} @end macro +@macro rextend{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-extending,Extending} +@end macro + +@macro rextendnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-extending,Extending} +@end macro + @macro rcontrib{TEXT} @vindex \TEXT\ @ref{\TEXT\,,,lilypond-contributor,Contributor's Guide} @@ -467,14 +513,14 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,lilypond-contributor,Contributor's Guide} @end macro -@macro rgeneral{TEXT} +@macro rweb{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-general,General Information} +@ref{\TEXT\,,,lilypond-web,General Information} @end macro -@macro rgeneralnamed{TEXT,DISPLAY} +@macro rwebnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,lilypond-general, General Information} +@ref{\TEXT\,,\DISPLAY\,lilypond-web, General Information} @end macro @macro ressay{TEXT} @@ -489,12 +535,12 @@ For LilyPond version @version{} @macro rprogram{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-application,Application Usage} +@ref{\TEXT\,,,lilypond-usage,Application Usage} @end macro @macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,\DISPLAY\,lilypond-application,Application Usage} +@ref{\TEXT\,,\DISPLAY\,lilypond-usage,Application Usage} @end macro @macro rlsr{TEXT} @@ -533,7 +579,7 @@ For LilyPond version @version{} @c delimits arguments in the standard way (i.e., with braces). @tex -\gdef\lilyvindex#1{\doind{vr}{\code #1}\ignorespaces} +\gdef\lilyvindex#1{\doind{vr}{\code{#1}}\ignorespaces} @end tex @macro rglos{TEXT} @@ -576,6 +622,16 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,changes,Changes} @end macro +@macro rextend{TEXT} +@lilyvindex{\TEXT\} +@ref{\TEXT\,,,extending,Extending} +@end macro + +@macro rextendnamed{TEXT,DISPLAY} +@lilyvindex{\TEXT\} +@ref{\TEXT\,,\DISPLAY\,extending,Extending} +@end macro + @macro rcontrib{TEXT} @lilyvindex{\TEXT\} @ref{\TEXT\,,,contributor,Contributor's Guide} @@ -586,14 +642,14 @@ For LilyPond version @version{} @ref{\TEXT\,,\DISPLAY\,contributor,Contributor's Guide} @end macro -@macro rgeneral{TEXT} +@macro rweb{TEXT} @lilyvindex{\TEXT\} -@ref{\TEXT\,,,general,General Information} +@ref{\TEXT\,,,web,General Information} @end macro -@macro rgeneralnamed{TEXT,DISPLAY} +@macro rwebnamed{TEXT,DISPLAY} @lilyvindex{\TEXT\} -@ref{\TEXT\,,\DISPLAY\,general,General Information} +@ref{\TEXT\,,\DISPLAY\,web,General Information} @end macro @macro ressay{TEXT} @@ -608,12 +664,12 @@ For LilyPond version @version{} @macro rprogram{TEXT} @lilyvindex{\TEXT\} -@ref{\TEXT\,,,application,Application Usage} +@ref{\TEXT\,,,usage,Application Usage} @end macro @macro rprogramnamed{TEXT,DISPLAY} @lilyvindex{\TEXT\} -@ref{\TEXT\,,\DISPLAY\,application,Application Usage} +@ref{\TEXT\,,\DISPLAY\,usage,Application Usage} @end macro @macro rlsr{TEXT} @@ -642,6 +698,36 @@ For LilyPond version @version{} @ifset web +@macro exampleImage{IMAGE-FILE} +@html +
+ + \IMAGE-FILE\ + +

+ (click to enlarge) +

+
+@end html +@iftex +@image{ly-examples/\IMAGE-FILE\-small,,,\IMAGE-FILE\,png} +@end iftex +@ifinfo +@image{lilypond/ly-examples/\IMAGE-FILE\,,,\IMAGE-FILE\,png} +@end ifinfo +@end macro + +@macro help{TEXT} +@html +
+ + Help wanted: + \TEXT\ +
+@end html +@end macro + + @c LEGALESE @macro logoLegalLinux @@ -665,7 +751,7 @@ The @qq{X image} is not a registered trademark. It was created by placed under the GNU Free Documentation License version 1.2 or later. We found the image on @uref{http://commons.wikimedia.org/wiki/File:Mac_OS_X_Userbox_X.png, -this Wikipedia Commons page}. +this Wikimedia Commons page}. @end macro @@ -676,7 +762,7 @@ trademark. It was created by placed under the GNU Free Documentation License version 1.2. We found the image on @uref{http://commons.wikimedia.org/wiki/Category:Microsoft_Windows_logos, -this Wikipedia Commons page}. +this Wikimedia Commons page}. @end macro