X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fincipit.ly;h=aeed14ca591f97c47e4263006816e60ae0c5a7e2;hb=38d7d319eabc906e82fb42002678c6d42a23b6f7;hp=b448a30e3f1cef224952c8db8bc0619843776e9b;hpb=77ec1817e3fb96b06888a7165ef70d318ef91174;p=lilypond.git diff --git a/input/lsr/incipit.ly b/input/lsr/incipit.ly index b448a30e3f..aeed14ca59 100644 --- a/input/lsr/incipit.ly +++ b/input/lsr/incipit.ly @@ -1,6 +1,6 @@ %% Do not edit this file; it is auto-generated from input/new %% This file is in the public domain. -\version "2.11.51" +\version "2.13.0" \header { texidoces = " Los «incipit» se pueden escribir utilizando el grob del nombre del @@ -15,6 +15,7 @@ keeping separate the instrument name definition and the incipit definition." doctitle = "Incipit" } % begin verbatim + incipit = #(define-music-function (parser location incipit-music) (ly:music?) #{ @@ -22,7 +23,7 @@ incipit = \once \override Staff.InstrumentName #'self-alignment-Y = #UP \once \override Staff.InstrumentName #'Y-offset = #4 \once \override Staff.InstrumentName #'padding = #0.3 - \once \override Staff.InstrumentName #'stencil = + \once \override Staff.InstrumentName #'stencil = #(lambda (grob) (let* ((instrument-name (ly:grob-property grob 'long-text)) (layout (ly:output-def-clone (ly:grob-layout grob))) @@ -46,7 +47,7 @@ incipit = (ly:output-def-set-variable! layout 'ragged-last #f) (ly:output-def-set-variable! layout 'system-count 1) (ly:score-add-output-def! score layout) - (set! (ly:grob-property grob 'long-text) + (ly:grob-set-property! grob 'long-text (markup #:score score)) (ly:system-start-text::print grob))) #}) @@ -57,9 +58,7 @@ global = { \set Score.skipBars = ##t \key g \major \time 4/4 - - %make the staff lines invisible on staves - \override Staff.BarLine #'transparent = ##t + % the actual music \skip 1*8 @@ -71,7 +70,7 @@ global = { } discantusIncipit = << - \new MensuralVoice = discantusIncipit << + \new MensuralVoice = "discantusIncipit" << \repeat unfold 9 { s1 \noBreak } { \clef "neomensural-c1" @@ -108,7 +107,7 @@ discantusLyrics = \lyricmode { } altusIncipit = << - \new MensuralVoice = altusIncipit << + \new MensuralVoice = "altusIncipit" << \repeat unfold 9 { s1 \noBreak } { \clef "neomensural-c3" @@ -144,7 +143,7 @@ altusLyrics = \lyricmode { } tenorIncipit = << - \new MensuralVoice = tenorIncipit << + \new MensuralVoice = "tenorIncipit" << \repeat unfold 9 { s1 \noBreak } { \clef "neomensural-c4" @@ -181,7 +180,7 @@ tenorLyrics = \lyricmode { } bassusIncipit = << - \new MensuralVoice = bassusIncipit << + \new MensuralVoice = "bassusIncipit" << \repeat unfold 9 { s1 \noBreak } { \clef "bass" @@ -220,49 +219,44 @@ bassusLyrics = \lyricmode { \new StaffGroup = choirStaff << \new Voice = "discantusNotes" << \global - \set Staff.instrumentName = "Discantus" + \set Staff.instrumentName = #"Discantus" \incipit \discantusIncipit \discantusNotes >> \new Lyrics = "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics } \new Voice = "altusNotes" << \global - \set Staff.instrumentName = "Altus" + \set Staff.instrumentName = #"Altus" \incipit \altusIncipit \altusNotes >> \new Lyrics = "altusLyrics" \lyricsto altusNotes { \altusLyrics } \new Voice = "tenorNotes" << \global - \set Staff.instrumentName = "Tenor" + \set Staff.instrumentName = #"Tenor" \incipit \tenorIncipit \tenorNotes >> \new Lyrics = "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics } \new Voice = "bassusNotes" << - \set Staff.instrumentName = "Bassus" + \global + \set Staff.instrumentName = #"Bassus" \incipit \bassusIncipit \bassusNotes >> + \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics } >> - \new Lyrics = "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics } - %% Keep the bass lyrics outside of the staff group to avoid bar lines - %% between the lyrics. >> \layout { \context { \Score - %% no bar lines in staves + %% no bar lines in staves or lyrics \override BarLine #'transparent = ##t } - %% the next three instructions keep the lyrics between the bar lines + %% the next two instructions keep the lyrics between the bar lines \context { \Lyrics - \consists "Bar_engraver" - \override BarLine #'transparent = ##t - } - \context { - \StaffGroup + \consists "Bar_engraver" \consists "Separating_line_group_engraver" } \context { @@ -277,7 +271,7 @@ bassusLyrics = \lyricmode { %% overall spacing if you comment in the following command. %%\remove "Forbid_line_break_engraver" } - indent=6\cm + indent = 6\cm incipit-width = 4\cm } }