X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Ffr%2Fuser%2Fmacros.itexi;h=e379253183cbf133e783680632270834861ff39d;hb=afdbfc98a710da3e214030b2745329c6a08f557c;hp=3ba23dd91435877992fd5547356d3582c0b0ea1f;hpb=cbe96f6c7967424e7cab466b45b833976eb6198f;p=lilypond.git diff --git a/Documentation/fr/user/macros.itexi b/Documentation/fr/user/macros.itexi index 3ba23dd914..e379253183 100644 --- a/Documentation/fr/user/macros.itexi +++ b/Documentation/fr/user/macros.itexi @@ -1,21 +1,138 @@ @c -*- coding: utf-8; mode: texinfo; -*- @ignore - Translation of GIT committish: 6ffead15d2e3dffd294c8e030938facef896d861 + Translation of GIT committish: d30aabb4adc9e13c7a5a99a22230e97a0f164255 When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore -@c **** all formats **** +@include version.itexi -@macro refbugs +@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 to get decent quotes in `foo' and ``foo'' +@c these need to be split up so that "@qq{foo}." looks nice. :( +@iftex +@macro q{TEXT} +@quoteleft{}\TEXT\@quoteright{} +@end macro + +@macro qq{TEXT} +@guillemetleft{}@tie{}\TEXT\@tie{}@guillemetright{} +@end macro +@end iftex + + +@ifinfo +@macro q{TEXT} +`\TEXT\' +@end macro + +@macro qq{TEXT} +« \TEXT\ » +@end macro +@end ifinfo + + +@ifhtml +@macro q{TEXT} +@html +‘\TEXT\’ +@end html +@end macro + +@macro qq{TEXT} +@html +« \TEXT\ » +@end html +@end macro +@end ifhtml + + +@ifdocbook +@macro q{TEXT} +@xml +‘\TEXT\’ +@end xml +@end macro + +@macro qq{TEXT} +@xml +« \TEXT\ » +@end xml +@end macro +@end ifdocbook + +@macro warning{TEXT} +@quotation +@quotation +@cartouche +@b{Note :} \TEXT\ +@end cartouche +@end quotation +@end quotation +@end macro + +@ifnotinfo +@macro notation{TEXT} +@var{\TEXT\} +@end macro +@end ifnotinfo + +@ifinfo +@macro notation{TEXT} +\TEXT\ +@end macro +@end ifinfo + +@macro smallspace +@sp 1 +@end macro + + +@c **** Displaying images not generated by lilypond-book + +@c current installation setup of Info docs requires that all images are +@c expected to be found in lilypond/ subdirectory. lilypond-book already +@c generates proper @image commands for images of music; these macros +@c definitions do the same for other images. + +@ifnotinfo +@macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT} +@image{\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@end macro +@end ifnotinfo + +@ifinfo +@macro sourceimage{FILENAME,WIDTH,HEIGHT,ALTTEXT} +@image{lilypond/\FILENAME\,\WIDTH\,\HEIGHT\,\ALTTEXT\} +@end macro +@end ifinfo + + + +@c **** Headings in a doc subsection **** + +@macro predefined @noindent -@subsubheading Bugs +@subsubheading Predefined commands @end macro -@macro moreinfo -@subheading More information +@macro snippets +@noindent +@subsubheading Selected Snippets + +@end macro + +@c obsolete, remove when translation is fully updated +@macro commonprop +@noindent +@subsubheading Commonly tweaked properties @end macro @@ -25,110 +142,100 @@ @end macro -@macro refcommands +@macro knownissues @noindent -@subsubheading Predefined commands +@subsubheading Known issues and warnings @end macro -@macro context{NAME} -@vindex \NAME\ -@code{\NAME\}@c should use internalsref +@c obsolete, remove when translation is fully updated +@macro context{TEXT} +@vindex \TEXT\ +@code{\TEXT\}@c should use rinternals @end macro -@macro refcommand{WHAT} -@vindex \WHAT\ -@code{\WHAT\} +@c obsolete, remove when translation is fully updated +@macro refcommand{TEXT} +@vindex \TEXT\ +@code{\TEXT\} @end macro -@macro commonprop -@noindent -@subsubheading Commonly tweaked properties +@macro lydoctitle {TEXT} +@emph{\TEXT\} @end macro -@macro funindex {WORD} -@findex \WORD\ -@kindex \WORD\ +@macro funindex {TEXT} +@findex \TEXT\ +@kindex \TEXT\ @end macro -@c *** Macros with variable output *** +@c **** Links and references **** + +@c WARNING: new @lsr macro in English docs takes 3 arguments +@c and new @lsrdir takes two arguments +@c obsolete @c usage: @lsr{ancient,custodes.ly} -@macro lsr{DIR,NAME} +@macro lsr{DIR,TEXT} @ifhtml - @uref{source/input/lsr/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}} +@uref{source/input/lsr/\DIR\/collated-files.html#\TEXT\,@file{\DIR\/\TEXT\}} @end ifhtml @ifnothtml - @file{\DIR\/\NAME\} +@file{\DIR\/\TEXT\} @end ifnothtml @end macro +@c don't update until this macro is correctly set up in English docs @macro lsrdir{DIR} @ifhtml - @uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/} +@uref{source/input/lsr/\DIR\/collated-files.html,@file{\DIR\}/} @end ifhtml @ifnothtml - @file{\DIR\} +@file{\DIR\} @end ifnothtml @end macro -@macro arrow{} -@iftex -@tex $\\Rightarrow$ @end tex@c -@end iftex -@ifhtml -@html -→ -@end html -@end ifhtml -@ifinfo ---> -@end ifinfo -@end macro - - -@c we need this since @q{\} doesn't work with makeinfo 4.8 -- -@c say @q{@value{backslash}} instead -@set backslash \ - +@c Definitions for references: +@c @rinternals +@c @rglos +@c @rprogram +@c @ruser +@c @rlearning @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/\NAME\.html,\NAME\}@c -@c @inforef{} adds ``See'' to the sentence, which is annoying, but -@c better than a broken link. -@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} +@macro rinternals{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals-big-page,Référence des propriétés internes} @end macro -@macro rglos{NAME} -@vindex \NAME\ -@ref{\NAME\,,,music-glossary-big-page} +@macro rglos{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary-big-page,Glossaire} @end macro -@macro rprogram{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-program-big-page} +@macro rprogram{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-program-big-page,Manuel d'utilisation du programme} @end macro -@macro ruser{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-big-page} +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-big-page,Manuel de notation} +@end macro + +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation} @end macro @end ifset @@ -136,42 +243,32 @@ @ifclear bigpage -@macro internalsref{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-internals} +@macro rinternals{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro -@macro rglos{NAME} -@vindex \NAME\ -@ref{\NAME\,,,music-glossary} +@macro rglos{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary,Glossaire} @end macro -@macro rprogram{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-program} +@macro rprogram{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme} @end macro -@macro ruser{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond} +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond,Manuel de notation} @end macro -@end ifclear - - -@c to get decent quotes in `foo' -@macro q{TEXT} -@html -‘\TEXT\’ -@end html +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -@html -« \TEXT\ » -@end html -@end macro +@end ifclear @end ifhtml @@ -179,38 +276,29 @@ @ifdocbook @c ***** DOCBOOK-XML ***** -@macro internalsref{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-internals} -@end macro - -@macro rglos{NAME} -@vindex \NAME\ -@ref{\NAME\,,,music-glossary} +@macro rinternals{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-internals,Référence des propriétés internes} @end macro -@macro rprogram{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-program} +@macro rglos{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary,Glossaire} @end macro -@macro ruser{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond} +@macro rprogram{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme} @end macro -@c to get decent quotes in `foo' -@macro q{TEXT} -@html -‘\TEXT\’ -@end html +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond,Manuel de notation} @end macro -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -@html -« \TEXT\ » -@end html +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro @end ifdocbook @@ -219,38 +307,29 @@ @ifinfo @c **** INFO **** -@macro internalsref{NAME} +@macro rinternals{NAME} @vindex \NAME\ -@inforef{\NAME\,,lilypond-internals} +@inforef{\NAME\,,lilypond-internals,Référence des propriétés internes} @end macro @macro rglos{NAME} @vindex \NAME\ -@inforef{\NAME\,,,music-glossary} +@inforef{\NAME\,,music-glossary,Glossaire} @end macro -@macro usermanref{NAME} -@inforef{\NAME\} +@macro rprogram{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-program,Manuel d'utilisation du programme} @end macro -@macro rprogram{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-program} +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond,Manuel de notation} @end macro -@macro ruser{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond} -@end macro - -@c to get decent quotes in `foo' -@macro q{TEXT} -`\TEXT\' -@end macro - -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -« \TEXT\ » +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro @end ifinfo @@ -259,57 +338,49 @@ @c **** TEX **** @iftex -@macro internalsref{NAME} -@vindex \NAME\ -@code{\NAME\} +@macro rinternals{TEXT} +@vindex \TEXT\ +@code{\TEXT\} @end macro -@macro rglos {NAME} -@vindex \NAME\ -@code{\NAME\} +@macro rglos {TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,music-glossary,Glossaire} @end macro -@macro seeinternals{NAME} -@emph{Référence du programme}, @internalsref{\NAME\} +@macro rprogram{TEXT} +@ref{\TEXT\,,,lilypond-program.fr,Manuel d'utilisation du programme} @end macro -@macro usermanref{NAME} -@emph{Manuel de l'utilisateur, \NAME\} +@macro ruser{TEXT} +@ref{\TEXT\,,,lilypond.fr,Manuel de notation} @end macro -@macro rprogram{NAME} -@emph{Manuel d'utilisation du programme, \NAME\} -@end macro - -@alias ruser=usermanref - -@c to get decent French quotes in `foo' -@macro q{TEXT} -`\TEXT\' -@end macro - -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -@guillemetleft{}@tie{}\TEXT\@tie{}@guillemetright{} +@macro rlearning{TEXT} +@ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation} @end macro @end iftex -@ifnottex -@c **** not TEX **** +@c Commands specific to translated docs -@macro seeinternals{NAME} -@internalsref{\NAME\} +@c ugh, cannot set/define global variable 'translationof' in some way? +@iftex +@macro translationof{TEXT} @end macro +@end iftex -@ifnotinfo -@macro usermanref{NAME} -@ref{\NAME\} +@ifinfo +@macro +@macro translationof{TEXT} +@set translationof \TEXT\ @end macro -@end ifnotinfo - -@end ifnottex - +@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