X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fengravers-one-by-one.ly;h=f9ca655110d812d795525ddc9da07ef1a508b992;hb=90e4d7057f3857da049dfda3d130017d4719bd6b;hp=e3512428ba0bd8239e3b1176f2184fea54a352a5;hpb=446dc1f3ac9bfff6bfee31de929698b0425da6fe;p=lilypond.git diff --git a/Documentation/snippets/engravers-one-by-one.ly b/Documentation/snippets/engravers-one-by-one.ly index e3512428ba..f9ca655110 100644 --- a/Documentation/snippets/engravers-one-by-one.ly +++ b/Documentation/snippets/engravers-one-by-one.ly @@ -1,69 +1,13 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.14.2" +\version "2.19.46" \header { - lsrtags = "specific-notation, contexts-and-engravers" - -%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa - texidoces = " -Del problema central de la notación, esto es, crear un determinado -símbolo, se encargan los «plugins» o complementos añadidos. Cada -uno de los complementos se conoce como un grabador. En este -ejemplo, los grabadores se van activando uno por uno, en el orden -siguiente: - -- cabeza de las notas, - -- el símbolo del pentagrama, - -- clave, - -- plicas, - -- barras, ligaduras de expresión, acentos, - -- alteraciones, líneas divisorias, indicación del compás, y armadura. - -Los grabadores se encuentran agrupados. Por ejemplo, las cabezas de -nota, ligaduras de expresión, barras de corchea, etc. forman un -contexto de voz, @code{Voice}. Los grabadores de la armadura, -alteraciones, líneas de compás, etc. forman un contexto de pentagrama, -@code{Staff}. - -" - doctitlees = "Los grabadores uno por uno" - -%% Translation of GIT committish: 30339cb3706f6399c84607426988b25f79b4998c - texidocfr = " -Pour appréhender la notation, nous l'avons disséquée en éléments -simples : chaque type de symbole est géré par un module différent. -Chaque module est appelé @qq{graveur}. Dans cet exemple, chaque graveur -est appelé à son tour, dans l'ordre suivant : - --- têtes de note, - --- symboles de la portée, - --- clef, - --- hampes, - --- ligatures, liaisons, accents, - --- altérations, barres de mesure, métrique et armure. - -Les graveurs se regroupent. Par exemple, têtes de note, liaisons, -ligature etc. forment un contexte de voix (@code{Voice}). Les graveurs -chargés de la métrique, des altérations, des barres de mesure etc. -forment un contexte de portée (@code{Staff}). - -" - doctitlefr = "Les graveurs un par un" + lsrtags = "contexts-and-engravers, specific-notation" texidoc = " The notation problem, creating a certain symbol, is handled by plugins. @@ -97,7 +41,6 @@ line, etc. form a @code{Staff} context. doctitle = "Engravers one-by-one" } % begin verbatim - %% sample music topVoice = \relative c' { \key d \major @@ -146,8 +89,6 @@ MyStaff = \context { \description "Handles clefs, bar lines, keys, accidentals. It can contain @code{Voice} contexts." - \consists "Output_property_engraver" - \consists "Font_size_engraver" \consists "Volta_engraver" @@ -165,7 +106,7 @@ MyStaff = \context { \consists "Pitch_squash_engraver" - localKeySignature = #'() + localAlterations = #'() % explicitly set instrumentName, so we don't get % weird effects when doing instrument names for @@ -175,6 +116,7 @@ MyStaff = \context { shortInstrumentName = #'() \accepts "Voice" + \defaultchild "Voice" } @@ -190,11 +132,10 @@ MyVoice = \context { You have to instantiate this explicitly if you want to have multiple voices on the same staff." - localKeySignature = #'() + localAlterations = #'() \consists "Font_size_engraver" % must come before all - \consists "Output_property_engraver" \consists "Arpeggio_engraver" \consists "Multi_measure_rest_engraver" \consists "Text_spanner_engraver" @@ -215,6 +156,7 @@ MyVoice = \context { %} \consists "Text_engraver" \consists "Dynamic_engraver" + \consists "Dynamic_align_engraver" \consists "Fingering_engraver" \consists "Script_column_engraver" @@ -332,4 +274,3 @@ MyStaff = \context { \context { \MyVoice } } } -