X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Ffr%2Fuser%2Fmacros.itexi;h=8c60d92155d9e8a43184304e31341fbfbcc33c0e;hb=625fb50ff98b6fd27138c60c84706110a53ddf95;hp=59934dacd4c5b9ffbd13365807054ec7803a8d20;hpb=3f221b8b6bad8c54c387ae2403cd85f625a5a91b;p=lilypond.git diff --git a/Documentation/fr/user/macros.itexi b/Documentation/fr/user/macros.itexi index 59934dacd4..8c60d92155 100644 --- a/Documentation/fr/user/macros.itexi +++ b/Documentation/fr/user/macros.itexi @@ -1,188 +1,258 @@ @c -*- coding: utf-8; mode: texinfo; -*- @ignore - Translation of GIT committish: 6ffead15d2e3dffd294c8e030938facef896d861 + Translation of GIT committish: 1440fffdf8579046cc2033b9c697a190b34b91e5 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 -@noindent -@subsubheading Bugs +@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 -@macro moreinfo -@subheading More information +@ifinfo +@macro q{TEXT} +`\TEXT\' @end macro -@macro seealso -@noindent -@subsubheading See also +@macro qq{TEXT} +« \TEXT\ » +@end macro +@end ifinfo + +@ifhtml +@macro q{TEXT} +@html +‘\TEXT\’ +@end html @end macro -@macro refcommands +@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 Predefined commands @end macro -@macro context{NAME} -@vindex \NAME\ -@code{\NAME\}@c should use internalsref -@end macro +@macro snippets +@noindent +@subsubheading Selected Snippets -@macro refcommand{WHAT} -@vindex \WHAT\ -@code{\WHAT\} @end macro +@c obsolete, remove when translation is fully updated @macro commonprop @noindent @subsubheading Commonly tweaked properties @end macro -@macro funindex {WORD} -@findex \WORD\ -@kindex \WORD\ -@end macro - +@macro seealso +@noindent +@subsubheading See also +@end macro -@c *** Macros with variable output *** +@macro knownissues +@noindent +@subsubheading Known issues and warnings -@c usage: @lsr{ancient,custodes.ly} -@macro lsr{DIR,NAME} -@ifhtml - @uref{source/input/lsr/\DIR\/collated-files.html#\NAME\,@file{\DIR\/\NAME\}} -@end ifhtml -@ifnothtml - @file{\DIR\/\NAME\} -@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 +@c obsolete, remove when translation is fully updated +@macro context{TEXT} +@vindex \TEXT\ +@code{\TEXT\}@c should use rinternals @end macro +@c obsolete, remove when translation is fully updated +@macro refcommand{TEXT} +@vindex \TEXT\ +@code{\TEXT\} +@end macro +@macro lydoctitle {TEXT} +@emph{\TEXT\} +@end macro -@macro arrow{} -@iftex -@tex $\\Rightarrow$ @end tex@c -@end iftex -@ifhtml -@html -→ -@end html -@end ifhtml -@ifinfo ---> -@end ifinfo +@macro funindex {TEXT} +@findex \TEXT\ +@kindex \TEXT\ @end macro -@c we need this since @q{\} doesn't work with makeinfo 4.8 -- -@c say @q{@value{backslash}} instead -@set backslash \ +@c **** Links and references **** + +@c Definitions for references: +@c @rinternals +@c @rglos +@c @rprogram +@c @ruser +@c @rlearning +@c @rlsr @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 rlearing{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-learning-big-page} +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning-big-page,Manuel d'initiation} @end macro +@macro rlsr{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-snippets-big-page,Exemples de code} +@end macro @end ifset @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 -@macro rlearning{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-learning} +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro -@end ifclear - - -@c to get decent quotes in `foo' -@macro q{TEXT} -@html -‘\TEXT\’ -@end html +@macro rlsr{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} @end macro -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -@html -« \TEXT\ » -@end html -@end macro +@end ifclear @end ifhtml @@ -190,43 +260,34 @@ @ifdocbook @c ***** DOCBOOK-XML ***** -@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 -@macro rlearning{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-learning} +@macro rlearning{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-learning,Manuel d'initiation} @end macro -@c to get decent quotes in `foo' -@macro q{TEXT} -@html -‘\TEXT\’ -@end html -@end macro - -@c to get decent French quotes in ``foo'' -@macro qq{TEXT} -@html -« \TEXT\ » -@end html +@macro rlsr{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} @end macro @end ifdocbook @@ -235,43 +296,33 @@ @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} -@end macro - -@macro ruser{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond} -@end macro - -@macro rlearning{NAME} -@vindex \NAME\ -@ref{\NAME\,,,lilypond-learning} +@macro ruser{TEXT} +@vindex \TEXT\ +@ref{\TEXT\,,,lilypond,Manuel de notation} @end macro -@c to get decent quotes in `foo' -@macro q{TEXT} -`\TEXT\' +@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} -« \TEXT\ » +@macro rlsr{TEXT} +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} @end macro @end ifinfo @@ -280,61 +331,53 @@ @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\} +@macro rlearning{TEXT} +@ref{\TEXT\,,,lilypond-learning.fr,Manuel d'initiation} @end macro -@macro rlearning{NAME} -@emph{Manuel d'apprentissage 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 rlsr{TEXT} +@ref{\TEXT\,,,lilypond-snippets,Exemples de code} @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