X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fuser%2Fmacros.itexi;h=4612a52b0b4eefe46dd80183414e805447055a0f;hb=38d7d319eabc906e82fb42002678c6d42a23b6f7;hp=ce01f63c3b3bf013186fdcaf552e0d74756ddde1;hpb=05ea596de0b94fdcc64fa6bafccf4078ccfd53cf;p=lilypond.git diff --git a/Documentation/fr/user/macros.itexi b/Documentation/fr/user/macros.itexi index ce01f63c3b..4612a52b0b 100644 --- a/Documentation/fr/user/macros.itexi +++ b/Documentation/fr/user/macros.itexi @@ -354,61 +354,73 @@ @iftex +@c All commands below should work in the middle of the line; +@c we thus must not use @vindex directly since it works only if placed +@c on a line of its own. To overcome this problem, we define a +@c replacement macro using the internal definition of @vindex which +@c delimits arguments in the standard way (i.e., with braces). + +@tex +\gdef\lilyvindex#1{\doind{vr}{\code #1}\ignorespaces} +@end tex + @macro rglos{TEXT} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,music-glossary,Glossaire} @end macro @macro rglosnamed{TEXT,DISPLAY} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,\DISPLAY\,music-glossary,Glossaire} @end macro @macro rlearning{TEXT} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation} @end macro @macro rlearningnamed{TEXT,DISPLAY} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,\DISPLAY\,lilypond-learning.fr,Manuel d'initiation} @end macro @macro ruser{TEXT} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond.fr,Manuel de notation} @end macro @macro rusernamed{TEXT,DISPLAY} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,\DISPLAY\,lilypond.fr,Manuel de notation} @end macro @macro rprogram{TEXT} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme} @end macro @macro rprogramnamed{TEXT,DISPLAY} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,\DISPLAY\,lilypond-program.fr,Manuel d'utilisation du programme} @end macro @macro rlsr{TEXT} +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond-snippets,Exemples de code} @end macro @macro rlsrnamed{TEXT,DISPLAY} +@lilyvindex{\TEXT\} @ref{\TEXT\,,\DISPLAY\,lilypond-snippets,Exemples de code} @end macro @macro rinternals{TEXT} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro @macro rinternalsnamed{TEXT,DISPLAY} -@vindex \TEXT\ +@lilyvindex{\TEXT\} @ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro