X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fuser%2Fmacros.itexi;h=6b86871839a63de798f5bcebafb4a93df229308a;hb=5c14a087ca6cbd665fd631452b7b1283ba0387c3;hp=52c0c0d89438a31d3352f5d72a774bf131487d58;hpb=1d5e95774ccbd5484d6a7f94b0f13a2577dfca6d;p=lilypond.git diff --git a/Documentation/fr/user/macros.itexi b/Documentation/fr/user/macros.itexi index 52c0c0d894..6b86871839 100644 --- a/Documentation/fr/user/macros.itexi +++ b/Documentation/fr/user/macros.itexi @@ -1,21 +1,24 @@ @c -*- coding: utf-8; mode: texinfo; -*- @ignore - Translation of GIT committish: d30aabb4adc9e13c7a5a99a22230e97a0f164255 + Translation of GIT committish: 8135382760aa0adfac5aed987a272c394e59dbdb When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore +@include version.itexi @c ***** Displaying text ***** -@c we need this since @q{\} doesn't work with makeinfo 4.8 -- -@c say @q{@value{backslash}} instead -@set backslash \ +@c we need this since @q{\} doesn't work with makeinfo 4.11 -- +@c say @q{@bs} instead +@macro bs +\\ +@end macro @c to get decent quotes in `foo' and ``foo'' -@c these need to be split up so that "@qq{foo}." looks nice. :( -@iftex +@c FIXME: use thin spaces for @qq +@ifnotinfo @macro q{TEXT} @quoteleft{}\TEXT\@quoteright{} @end macro @@ -23,8 +26,7 @@ @macro qq{TEXT} @guillemetleft{}@tie{}\TEXT\@tie{}@guillemetright{} @end macro -@end iftex - +@end ifnotinfo @ifinfo @macro q{TEXT} @@ -38,36 +40,14 @@ @ifhtml -@macro q{TEXT} -@html -‘\TEXT\’ -@end html -@end macro - -@c FIXME: hack unbreakable thin spaces -@macro qq{TEXT} -@html -« \TEXT\ » -@end html +@macro warning{TEXT} +@cartouche +@b{Note :} \TEXT\ +@end cartouche @end macro @end ifhtml - -@ifdocbook -@macro q{TEXT} -@xml -‘\TEXT\’ -@end xml -@end macro - -@c FIXME: hack unbreakable thin spaces -@macro qq{TEXT} -@xml -« \TEXT\ » -@end xml -@end macro -@end ifdocbook - +@ifnothtml @macro warning{TEXT} @quotation @quotation @@ -77,6 +57,7 @@ @end quotation @end quotation @end macro +@end ifnothtml @ifnotinfo @macro notation{TEXT} @@ -149,16 +130,9 @@ @end macro -@c obsolete, remove when translation is fully updated -@macro context{TEXT} -@vindex \TEXT\ -@code{\TEXT\}@c should use internalsref -@end macro +@macro lydoctitle {TEXT} +@emph{\TEXT\} -@c obsolete, remove when translation is fully updated -@macro refcommand{TEXT} -@vindex \TEXT\ -@code{\TEXT\} @end macro @macro funindex {TEXT} @@ -170,199 +144,245 @@ @c **** Links and references **** -@c WARNING: new @lsr macro in English docs takes 3 arguments -@c and new @lsrdir takes two arguments - -@c usage: @lsr{ancient,custodes.ly} -@macro lsr{DIR,TEXT} -@ifhtml -@uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}} -@end ifhtml -@ifnothtml -@file{\DIR\/\TEXT\} -@end ifnothtml -@end macro - -@macro lsrdir{DIR} -@ifhtml -@uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/} -@end ifhtml -@ifnothtml -@file{\DIR\} -@end ifnothtml -@end macro - - - - @c Definitions for references: -@c @internalsref @c @rglos -@c @rprogram -@c @ruser @c @rlearning +@c @ruser +@c @rprogram +@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 makeinfo-4.7 encodes html names, which means that nodes that -@c contain nonalphanum characters will be broken links on the website. -@c @uref{../lilypond-internals/\TEXT\.html,\TEXT\}@c -@c @inforef{} adds ``See'' to the sentence, which is annoying, but -@c better than a broken link. -@c @inforef{\TEXT\,,lilypond-internals}@c -@c using @ref without punctuation is OK without for formats other than info +@c ***** HTML + bigpage is a special case (other manual names), all other +@c formats are treated similarly + +@ifnottex @ifset bigpage -@macro internalsref{TEXT} +@macro rglos{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals-big-page} +@ref{\TEXT\,,,music-glossary-big-page,Glossaire} @end macro -@macro rglos{TEXT} +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary-big-page} +@ref{\TEXT\,,\DISPLAY\,music-glossary-big-page,Glossaire} @end macro -@macro rprogram{TEXT} +@macro rlearning{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program-big-page} +@ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation} @end macro -@macro ruser{TEXT} +@macro rlearningnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-big-page} +@ref{\TEXT\,,\DISPLAY\,lilypond-learning-big-page,Manuel d'initiation} @end macro -@macro rlearning{TEXT} +@macro ruser{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-learning-big-page} +@ref{\TEXT\,,,lilypond-big-page,Manuel de notation} @end macro -@end ifset - - -@ifclear bigpage +@macro rusernamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-big-page,Manuel de notation} +@end macro -@macro internalsref{TEXT} +@macro rprogram{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals} +@ref{\TEXT\,,,lilypond-program-big-page,Manuel d'utilisation du programme} @end macro -@macro rglos{TEXT} +@macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary} +@ref{\TEXT\,,\DISPLAY\,lilypond-program-big-page,Manuel d'utilisation du programme} @end macro -@macro rprogram{TEXT} +@macro rlsr{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program} +@ref{\TEXT\,,,lilypond-snippets-big-page,Exemples de code} @end macro -@macro ruser{TEXT} +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets-big-page,Exemples de code} +@end macro + +@macro rinternals{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond} +@ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes} @end macro -@macro rlearning{TEXT} +@macro rinternalsnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-learning} +@ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes} @end macro -@end ifclear +@end ifset -@end ifhtml +@ifclear bigpage -@ifdocbook -@c ***** DOCBOOK-XML ***** +@macro rglos{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary,Glossaire} +@end macro -@macro internalsref{TEXT} +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-internals} +@ref{\TEXT\,,\DISPLAY\,music-glossary,Glossaire} @end macro -@macro rglos{TEXT} +@macro rlearning{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary} +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro -@macro rprogram{TEXT} +@macro rlearningnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program} +@ref{\TEXT\,,\DISPLAY\,lilypond-learning,Manuel d'initiation} @end macro @macro ruser{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond} +@ref{\TEXT\,,,lilypond,Manuel de notation} @end macro -@macro rlearning{TEXT} +@macro rusernamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-learning} +@ref{\TEXT\,,\DISPLAY\,lilypond,Manuel de notation} @end macro -@end ifdocbook +@macro rprogram{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme} +@end macro +@macro rprogramnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-program,Manuel d'utilisation du programme} +@end macro -@ifinfo -@c **** INFO **** +@macro rlsr{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} +@end macro -@macro internalsref{NAME} -@vindex \NAME\ -@inforef{\NAME\,,lilypond-internals} +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets,Exemples de code} @end macro -@macro rglos{NAME} -@vindex \NAME\ -@inforef{\NAME\,,music-glossary} +@macro rinternals{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro -@macro rprogram{TEXT} +@macro rinternalsnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-program} +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro -@macro ruser{TEXT} +@end ifclear + +@end ifnottex + + +@c **** TEX **** +@iftex + +@macro rglos{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary,Glossaire} +@end macro + +@macro rglosnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond} +@ref{\TEXT\,,\DISPLAY\,music-glossary,Glossaire} @end macro @macro rlearning{TEXT} @vindex \TEXT\ -@ref{\TEXT\,,,lilypond-learning} +@ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation} @end macro -@end ifinfo +@macro rlearningnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond-learning.fr,Manuel d'initiation} +@end macro +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond.fr,Manuel de notation} +@end macro -@c **** TEX **** -@iftex +@macro rusernamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,\DISPLAY\,lilypond.fr,Manuel de notation} +@end macro -@macro internalsref{TEXT} +@macro rprogram{TEXT} @vindex \TEXT\ -@code{\TEXT\} +@ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme} @end macro -@macro rglos {TEXT} +@macro rprogramnamed{TEXT,DISPLAY} @vindex \TEXT\ -@ref{\TEXT\,,,music-glossary} +@ref{\TEXT\,,\DISPLAY\,lilypond-program.fr,Manuel d'utilisation du programme} @end macro -@macro rprogram{TEXT} -@emph{Manuel d'utilisation du programme, }@ref{\TEXT\,,,lilypond-program.fr} +@macro rlsr{TEXT} +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} @end macro -@macro ruser{TEXT} -@emph{Manuel de notation, }@ref{\TEXT\,,,lilypond.fr} +@macro rlsrnamed{TEXT,DISPLAY} +@ref{\TEXT\,,\DISPLAY\,lilypond-snippets,Exemples de code} @end macro -@macro rlearning{TEXT} -@emph{Manuel d'initiation, }@ref{\TEXT\,,,lilypond-learning.fr} +@macro rinternals{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro +@macro rinternalsnamed{TEXT,DISPLAY} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} +@end macro + +@end iftex + + +@c **** Macros specific to translated docs **** + +@c ugh, cannot set/define global variable 'translationof' in some way? +@iftex +@macro translationof{TEXT} +@end macro @end iftex +@ifinfo +@macro +@macro translationof{TEXT} +@set translationof \TEXT\ +@end macro +@end ifinfo -@c EOF +@c TODO when @translationof is used in translated docs +@c see if it's feasible to say @value{translationof} +@macro englishref +Cette section n'est pas encore encore traduite, veuillez +vous reporter à la documentation correspondante en anglais. +@end macro + +@ifhtml +@macro untranslated +UNTRANSLATED NODE: IGNORE ME +@end macro +@end ifhtml + +@ifnothtml +@macro untranslated +@end macro +@end ifnothtml