From: Jean-Charles Malahieude Date: Sun, 19 Feb 2017 12:15:08 +0000 (+0100) Subject: Doc-fr: updates LM and NR X-Git-Url: https://git.donarmstrong.com/lilypond.git?a=commitdiff_plain;h=04597b1cc93b4f1bf365506dc5badc08f34b84e8;p=lilypond.git Doc-fr: updates LM and NR --- diff --git a/Documentation/fr/learning/fundamental.itely b/Documentation/fr/learning/fundamental.itely index 87bcfe5bae..307daf8b3e 100644 --- a/Documentation/fr/learning/fundamental.itely +++ b/Documentation/fr/learning/fundamental.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: a1267e20afa61258ce3031f07d916e0e66ac6582 + Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -1758,32 +1758,33 @@ Avant de déterminer l'une de ces propriétés, nous devons savoir dans quel contexte elle intervient. Si cela est bien souvent évident, il peut arriver que cela tourne au cauchemar. Lorsque vous ne spécifiez pas le bon contexte, aucun message d'erreur ne s'affiche et l'effet -attendu n'est pas au rendez-vous. Par exemple, le @code{instrumentName} -est de manière incontestable membre du contexte @code{Staff}, puisque -c'est bien la portée que l'on va nommer. -Dans l'exemple suivant, la première portée affiche effectivement un nom, -alors que ce n'est pas le cas pour la deuxième dans la mesure où le -contexte n'a pas été spécifié. +attendu n'est pas au rendez-vous. Par exemple, le @code{clefGlyph} est +de manière incontestable membre du contexte @code{Staff}, puisque c'est +bien le glyphe de clef de la portée qui doit être changé. +Dans l'exemple suivant, la première portée affiche effectivement la +bonne clef, alors que ce n'est pas le cas pour la deuxième -- qui porte +la clef de sol par défaut au lieu d'une clef de basse (clef de fa) -- +dans la mesure où le contexte n'a pas été spécifié. @lilypond[quote,verbatim,ragged-right] << \new Staff \relative { - \set Staff.instrumentName = #"Soprano" + \set Staff.clefGlyph = "clefs.C" c''4 c } \new Staff \relative { - \set instrumentName = #"Alto" % Wrong! + \set clefGlyph = "clefs.F" % Wrong! d'4 d } >> @end lilypond Dans la mesure où le nom de contexte par défaut est @code{Voice}, la -deuxième commande @code{\set} a défini @qq{Alto} comme propriété -@code{instrumentName} du contexte de voix. Puisque LilyPond n'ira pas -chercher une telle propriété dans le contexte @code{Voice}, celle-ci ne -sera pas interprétée. Il ne s'agit pas d'une erreur, aucun message -d'erreur ne sera ni émis ni enregistré. +deuxième commande @code{\set} a défini la propriété @code{clefGlyph} +dans le contexte de voix. Puisque LilyPond n'ira pas chercher une telle +propriété dans le contexte @code{Voice}, celle-ci ne sera pas +interprétée. Il ne s'agit pas d'une erreur, aucun message d'erreur ne +sera ni émis ni enregistré. De la même manière, une faute d'orthographe dans le nom de la propriété ne générera aucun message d'erreur et l'action escomptée ne se produira @@ -1800,7 +1801,7 @@ recommandons de vérifier le nom des propriétés que vous manipulez dans la Référence des propriétés internes -- voir @rinternals{Tunable context properties}, ou @rinternals{Contexts}. -La propriété @code{instrumentName} ne sera prise en compte que si elle +La propriété @code{clefGlyph} ne sera prise en compte que si elle est définie dans un contexte @code{Staff} ; d'autres propriétés peuvent par contre être définies dans plusieurs contextes différents. C'est le cas de la propriété @code{extraNatural} qui est définie par @@ -2452,8 +2453,9 @@ lower = \relative { \score { << % combine ChoirStaff and PianoStaff in parallel \new ChoirStaff << - \new Staff = "sopranos" << - \set Staff.instrumentName = #"Soprano" + \new Staff = "sopranos" + \with { instrumentName = #"Soprano" } + << \new Voice = "sopranos" { \global \sopranoMusic @@ -2462,24 +2464,31 @@ lower = \relative { \new Lyrics \lyricsto "sopranos" { \sopranoWords } - \new Staff = "altos" << - \set Staff.instrumentName = #"Alto" + \new Staff = "altos" + \with { instrumentName = #"Alto" } + << \new Voice = "altos" { \global \altoMusic } >> - \new Lyrics \lyricsto "altos" { \altoWords } - \new Staff = "tenors" << - \set Staff.instrumentName = #"Tenor" + \new Lyrics \lyricsto "altos" { + \altoWords + } + \new Staff = "tenors" + \with { instrumentName = #"Tenor" } + << \new Voice = "tenors" { \global \tenorMusic } >> - \new Lyrics \lyricsto "tenors" { \tenorWords } - \new Staff = "basses" << - \set Staff.instrumentName = #"Bass" + \new Lyrics \lyricsto "tenors" { + \tenorWords + } + \new Staff = "basses" + \with { instrumentName = #"Bass" } + << \new Voice = "basses" { \global \bassMusic @@ -2489,8 +2498,8 @@ lower = \relative { \bassWords } >> % end ChoirStaff - \new PianoStaff << - \set PianoStaff.instrumentName = #"Piano" + \new PianoStaff \with { instrumentName = #"Piano" } + << \new Staff = "upper" \upper \new Staff = "lower" \lower >> @@ -2530,47 +2539,51 @@ Une fois tout ceci accompli, voici notre @code{ChoirStaff} : @example \new ChoirStaff << - \new Staff = "sopranos" << - \set Staff.instrumentName = #"Soprano" + \new Staff = "sopranos" + \with @{ instrumentName = #"Soprano" @} + << \new Voice = "sopranos" @{ \global - \sopranoMusique + \sopranoMusic @} >> \new Lyrics \lyricsto "sopranos" @{ - \sopranoParoles + \sopranoWords @} - \new Staff = "altos" << - \set Staff.instrumentName = #"Alto" + \new Staff = "altos" + \with @{ instrumentName = #"Alto" @} + << \new Voice = "altos" @{ \global - \altoMusique + \altoMusic @} >> \new Lyrics \lyricsto "altos" @{ - \altoParoles + \altoWords @} - \new Staff = "tenors" << - \set Staff.instrumentName = #"Tenor" + \new Staff = "tenors" + \with @{ instrumentName = #"Tenor" @} + << \new Voice = "tenors" @{ \global - \tenorMusique + \tenorMusic @} >> \new Lyrics \lyricsto "tenors" @{ - \tenorParoles + \tenorWords @} - \new Staff = "basses" << - \set Staff.instrumentName = #"Bass" + \new Staff = "basses" + \with @{ instrumentName = #"Bass" @} + << \new Voice = "basses" @{ \global - \bassMusique + \bassMusic @} >> \new Lyrics \lyricsto "basses" @{ - \bassParoles + \bassWords @} ->> % fin du ChoirStaff +>> % end ChoirStaff @end example Il nous faut maintenant nous occuper de la partie de piano. Nous allons @@ -2578,8 +2591,8 @@ nous contenter de récupérer la partie de piano du modèle @qq{Solo piano} : @example -\new PianoStaff << - \set PianoStaff.instrumentName = #"Piano " +\new PianoStaff \with @{ instrumentName = #"Piano" @} +<< \new Staff = "upper" \superieur \new Staff = "lower" \inferieur >> @@ -2592,52 +2605,52 @@ Les systèmes pour chœur et pour piano doivent être combinés à l'aide de doubles chevrons gauche/droite puisqu'ils doivent s'empiler : @example -<< % combine ChoirStaff et PianoStaff l'un au-dessus de l'autre +<< % combine ChoirStaff and PianoStaff one above the other \new ChoirStaff << \new Staff = "sopranos" << \new Voice = "sopranos" @{ \global - \sopranoMusique + \sopranoMusic @} >> \new Lyrics \lyricsto "sopranos" @{ - \sopranoParoles + \sopranoWords @} \new Staff = "altos" << \new Voice = "altos" @{ \global - \altoMusique + \altoMusic @} >> \new Lyrics \lyricsto "altos" @{ - \altoParoles + \altoWords @} \new Staff = "tenors" << \clef "G_8" % tenor clef \new Voice = "tenors" @{ \global - \tenorMusique + \tenorMusic @} >> \new Lyrics \lyricsto "tenors" @{ - \tenorParoles + \tenorWords @} \new Staff = "basses" << \clef "bass" \new Voice = "basses" @{ \global - \bassMusique + \bassMusic @} >> \new Lyrics \lyricsto "basses" @{ - \bassParoles + \bassWords @} - >> % fin du ChoirStaff + >> % end ChoirStaff - \new PianoStaff << - \set PianoStaff.instrumentName = #"Piano" - \new Staff = "upper" \superieur - \new Staff = "lower" \inferieur + \new PianoStaff \with @{ instrumentName = #"Piano" @} + << + \new Staff = "upper" \upper + \new Staff = "lower" \lower >> >> @end example @@ -2687,8 +2700,9 @@ lower = \relative { \score { << % combine ChoirStaff and PianoStaff in parallel \new ChoirStaff << - \new Staff = "sopranos" << - \set Staff.instrumentName = #"Soprano" + \new Staff = "sopranos" + \with { instrumentName = #"Soprano" } + << \new Voice = "sopranos" { \global \sopranoMusic @@ -2697,8 +2711,9 @@ lower = \relative { \new Lyrics \lyricsto "sopranos" { \sopranoWords } - \new Staff = "altos" << - \set Staff.instrumentName = #"Alto" + \new Staff = "altos" + \with { instrumentName = #"Alto" } + << \new Voice = "altos" { \global \altoMusic @@ -2707,8 +2722,9 @@ lower = \relative { \new Lyrics \lyricsto "altos" { \altoWords } - \new Staff = "tenors" << - \set Staff.instrumentName = #"Tenor" + \new Staff = "tenors" + \with { instrumentName = #"Tenor" } + << \new Voice = "tenors" { \global \tenorMusic @@ -2717,8 +2733,9 @@ lower = \relative { \new Lyrics \lyricsto "tenors" { \tenorWords } - \new Staff = "basses" << - \set Staff.instrumentName = #"Bass" + \new Staff = "basses" + \with { instrumentName = #"Bass" } + << \new Voice = "basses" { \global \bassMusic @@ -2729,8 +2746,9 @@ lower = \relative { } >> % end ChoirStaff - \new PianoStaff << - \set PianoStaff.instrumentName = #"Piano " + \new PianoStaff + \with { instrumentName = #"Piano " } + << \new Staff = "upper" \upper \new Staff = "lower" \lower >> diff --git a/Documentation/fr/notation/editorial.itely b/Documentation/fr/notation/editorial.itely index 24ecee56f5..c8eb02369f 100644 --- a/Documentation/fr/notation/editorial.itely +++ b/Documentation/fr/notation/editorial.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 39912f861693f1c24b8833e6e9e6ba82eb3e6746 + Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -528,12 +528,14 @@ elle revient à la couleur par défaut, le noir. Le problème ressort de façon évidente au vu de la partition finale. @lilypond[verbatim,quote] -\relative c'' { - \override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2) - \set Staff.instrumentName = \markup { - \with-color #(x11-color 'navy) "Clarinet" +\new Staff \with { + instrumentName = \markup { + \with-color #(x11-color 'red) "Clarinet" + } } + \relative c'' { + \override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2) gis8 a \override Beam.color = #(x11-color "medium turquoise") gis a @@ -561,12 +563,12 @@ les composantes de la couleur exacte au format rouge-vert-bleu l'exemple suivant correspond à 128). @lilypond[verbatim,quote] -\relative c'' { - \override Staff.StaffSymbol.color = #(x11-color 'SlateBlue2) - \set Staff.instrumentName = \markup { - \with-color #(x11-color 'navy) "Clarinet" +\new Staff \with { + instrumentName = \markup { + \with-color #(x11-color 'red) "Clarinet" + } } - + \relative c'' { \override Stem.color = #(rgb-color 0 0 0) gis8 a \override Stem.color = #(rgb-color 1 1 1) diff --git a/Documentation/fr/notation/percussion.itely b/Documentation/fr/notation/percussion.itely index 6fda713f2a..0d714700fa 100644 --- a/Documentation/fr/notation/percussion.itely +++ b/Documentation/fr/notation/percussion.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 553410afdd9496f7d9f1498e755ea18de8e70596 + Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -526,27 +526,20 @@ sujet la rubrique @ref{Symbole de la portée}. Un tambourin, saisi avec un @qq{tamb} : -@lilypond[quote,verbatim] +@lilypond[verbatim,quote] #(define mydrums '((tambourine default #t 0))) -tambustaff = { - \override Staff.StaffSymbol.line-positions = #'( 0 ) - \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Tambourine" -} +\new DrumStaff \with { instrumentName = #"Tambourine" } -\new DrumStaff { - \tambustaff +\drummode { \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \drummode { - \time 6/8 - tamb8. 16 8 8 8 8 | - tamb4. 8 8 8 | - % the trick with the scaled duration and the shorter rest - % is neccessary for the correct ending of the trill-span! - tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan | - } + \time 6/8 + tamb8. 16 8 8 8 8 | + tamb4. 8 8 8 | + % the trick with the scaled duration and the shorter rest + % is neccessary for the correct ending of the trill-span! + tamb2.*5/6 \startTrillSpan s8 \stopTrillSpan | } @end lilypond @@ -555,19 +548,14 @@ Un peu de tam tam, abrégé @qq{tt} : @lilypond[quote,verbatim] #(define mydrums '((tamtam default #t 0))) -tamtamstaff = { - \override Staff.StaffSymbol.line-positions = #'( 0 ) - \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Tamtam" -} +\new DrumStaff \with { instrumentName = #"Tamtam" } -\new DrumStaff { - \tamtamstaff - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) +\drummode { +\set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) +\override Staff.StaffSymbol.line-positions = #'( 0 ) +\override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \drummode { - tt 1 \pp \laissezVibrer - } + tt 1 \pp \laissezVibrer } @end lilypond @@ -578,20 +566,16 @@ cloche de quart -- @qq{rb} pour @emph{ridebell} : #(define mydrums '((ridebell default #t 3) (cowbell default #t -2))) -bellstaff = { - \override DrumStaff.StaffSymbol.line-positions = #'(-2 3) +\new DrumStaff \with { instrumentName = #"Different Bells" } + +\drummode { \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) - \set DrumStaff.instrumentName = #"Different Bells" -} + \override DrumStaff.StaffSymbol.line-positions = #'(-2 3) + \override Staff.BarLine.bar-extent = #'(-1.5 . 1.5) -\new DrumStaff { - \bellstaff - \drummode { - \time 2/4 - rb8 8 cb 16 rb-> ~ | - 16 8 16 cb8 8 | - } + \time 2/4 + rb8 8 cb8 16 rb16-> ~ | + 16 8 16 cb8 8 | } @end lilypond @@ -637,22 +621,23 @@ drumsB = { \score { \new StaffGroup << - \new DrumStaff { - \set DrumStaff.instrumentName = \markup { + \new DrumStaff \with { + instrumentName = \markup { \column { "Tambourine" "et" "caisse claire s. timbre" } } - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) + drumStyleTable = #(alist->hash-table mydrums) + } \drumsA - } - \new DrumStaff { - \set DrumStaff.instrumentName = #"Grosse Caisse" - \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \drumsB } + \new DrumStaff \with { + instrumentName = #"Grosse Caisse" + drumStyleTable = #(alist->hash-table mydrums) + } + \drumsB >> } @end lilypond diff --git a/Documentation/fr/notation/pitches.itely b/Documentation/fr/notation/pitches.itely index d2fbab49ca..1888031678 100644 --- a/Documentation/fr/notation/pitches.itely +++ b/Documentation/fr/notation/pitches.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: 6a4f1fed7b1be26f0ae29bc500eed7d29bd7659a + Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -1516,26 +1516,24 @@ conducteur. Les deux instruments sont à l'unisson. @lilypond[verbatim,quote] \new GrandStaff << - \new Staff = "violin" { - \relative c'' { - \set Staff.instrumentName = #"Vln" - \set Staff.midiInstrument = #"violin" - % not strictly necessary, but a good reminder - \transposition c' - - \key c \major - g4( c8) r c r c4 - } + \new Staff = "violin" \with { + instrumentName = #"Vln" + midiInstrument = #"violin" + } + \relative c'' { + % not strictly necessary, but a good reminder + \transposition c' + \key c \major + g4( c8) r c r c4 } - \new Staff = "clarinet" { - \relative c'' { - \set Staff.instrumentName = \markup { Cl (B\flat) } - \set Staff.midiInstrument = #"clarinet" - \transposition bes - - \key d \major - a4( d8) r d r d4 - } + \new Staff = "clarinet" \with { + instrumentName = \markup { Cl (B\flat) } + midiInstrument = #"clarinet" + } + \relative c'' { + \transposition bes + \key d \major + a4( d8) r d r d4 } >> @end lilypond diff --git a/Documentation/fr/notation/staff.itely b/Documentation/fr/notation/staff.itely index 4034cc9690..ba86260571 100644 --- a/Documentation/fr/notation/staff.itely +++ b/Documentation/fr/notation/staff.itely @@ -1,7 +1,7 @@ @c -*- coding: utf-8; mode: texinfo; documentlanguage: fr -*- @ignore - Translation of GIT committish: ece789bf5f661cb8f16b50f87a248dedd6e1d8d5 + Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 When revising a translation, copy the HEAD committish of the version that you are working on. For details, see the Contributors' @@ -231,8 +231,8 @@ qu'il gère automatiquement l'affichage du nom d'instrument -- voir @ref{Noms d'instrument} pour plus de détails. @lilypond[verbatim,quote] -\new PianoStaff << - \set PianoStaff.instrumentName = #"Piano" +\new PianoStaff \with { instrumentName = #"Piano" } + << \new Staff \relative { c''1 c } \new Staff \relative { \clef bass c1 c } >> @@ -992,20 +992,14 @@ nouvel instrument. Notez cependant que la valeur de @lilypond[verbatim,quote,ragged-right] prepPiccolo = <>^\markup \italic { muta in Piccolo } +prepFlute = <>^\markup \italic { muta in Flauto } + setPiccolo = { - \set Staff.instrumentName = #"Piccolo" - \set Staff.shortInstrumentName = #"Picc." - \set Staff.midiInstrument = #"piccolo" <>^\markup \bold { Piccolo } \transposition c'' } -prepFlute = <>^\markup \italic { muta in Flauto } - setFlute = { - \set Staff.instrumentName = #"Flute" - \set Staff.shortInstrumentName = #"Flt." - \set Staff.midiInstrument = #"flute" <>^\markup \bold { Flute } \transposition c' } @@ -1013,14 +1007,17 @@ setFlute = { \new Staff \with { instrumentName = #"Flute" shortInstrumentName = #"Flt." - midiInstrument = #"flute" } \relative { g'1 g g g \break g1 g \prepPiccolo R R \break + \set Staff.instrumentName = #"Piccolo" + \set Staff.shortInstrumentName = #"Picc." \setPiccolo g1 g g g \break g1 g \prepFlute R R \break + \set Staff.instrumentName = #"Flute" + \set Staff.shortInstrumentName = #"Flt." \setFlute g1 g g g } diff --git a/Documentation/fr/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc b/Documentation/fr/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc index acc95d0525..ef532e57bf 100644 --- a/Documentation/fr/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc +++ b/Documentation/fr/texidocs/transposing-pitches-with-minimum-accidentals-smart-transpose.texidoc @@ -1,4 +1,4 @@ -%% Translation of GIT committish: 3ad118d6062153701ab613c1b3855911c45214d3 +%% Translation of GIT committish: 64c8064154e24ff2a07e553ecdbda409f1726487 texidocfr = " Cet exemple, grâce à un peu de code Scheme, donne la priorité aux enharmoniques afin de limiter le nombre d'altérations supplémentaires.