In data giovedì 03 dicembre 2009 14:16:19, hai scritto:
> Hello Mario,
> 
> if you want to build one PDF from two .ly-files, you can also surround
> the scores with a \bookpart statement. 
It is what I would want to do but if I use \bookpart in the attached file I get 
error and any outputs pdf. Do you know why?
Thanks
> -- 

oiram/bin/selom
\version "2.12.2"
\bookpart{
\header {
      subtitle = \markup {\override #'(font-name .  "URW Palladio L italic"){"Le strofe sono sul motivo di \"Christus vincit\"" }}}

\paper {
  #(set-paper-size "a4")
}

global = {\new Voice {\override Score.MetronomeMark #'extra-offset = #'(-10 . 1)
                        \override Score.MetronomeMark #'font-size = #0 }
  \tempo \markup {\override #'(font-name .  "URW Palladio L italic"){"Coro   Ben declamando    " }}  4=60
  \key f \major
  \time 2/4
}

soprano =  {
  \global
  % Qui segue la musica.
              \times 2/3 { \clef "treble"}
            \times 2/3 { a' 8 a' a' } a' a'  |
            c'' 8 c'' 4.  |
            \times 2/3 { f' 8 f' f' } f' f'  |
            a' 8 a' 4.  |\break
%% 5
            \times 2/3 { d'' 8 d'' d'' } g' g'  |
            c'' 4 f' 8 (bes')  |
            \times 2/3 { a' 8 a' a' } g' g'  |
            f' 2  |
            \bar "|."
}

alto =  {
  \global
  % Qui segue la musica.
            \times 2/3 { f' 8 f' f' } f' f'  |
            g' 8 g' 4.  |
            \times 2/3 { d' 8 d' d' } d' d'  |
            e' 8 e' 4.  |
%% 5
            \times 2/3 { f' 8 f' f' } e' e'  |
            f' 4 d'  |
            \times 2/3 { f' 8 f' f' } e' e'  |
            c' 2  |
            \bar "|."

}

tenor =  {
  \global
  % Qui segue la musica.
            \times 2/3 { c' 8 c' c' } c' c'  |
            c' 8 c' 4.  |
            \times 2/3 { a 8 a a } a a  |
            a 8 a 4.  |
%% 5
            \times 2/3 { d' 8 d' d' } c' c'  |
            c' 4 d'  |
            \times 2/3 { c' 8 c' c' } c' bes  |
            a 2  |
            \bar "|."
  
}

bass =  {
  \global
  % Qui segue la musica.
            \times 2/3 { f 8 f f } f f  |
            e 8 e 4.  |
            \times 2/3 { d 8 d d } d d  |
            c 8 c 4.  |
%% 5
            \times 2/3 { \stemUp bes, 8 bes, bes, } \stemNeutral c bes,  |
            a, 4 bes,  |
            \times 2/3 { c 8 c c } c c  |
            f 2  |
            \bar "|."  
}

verseOne = \lyricmode {
  \set stanza = "1."
  % Qui seguono le parole.
  Cre -- sce nei ca -- mpiil gra -- no: le spi -- ghein bion -- do ste -- lo dan -- no un lar -- go ze -- lo ci -- boall' u -- ma -- ni -- tà
}

verseTwo = \lyricmode {
  \set stanza = "2."
  % Qui seguono le parole.
  L'on -- da le fa con -- cor -- di al ven -- to do -- lceo for -- te: u -- ni -- ca è la sor -- te: fe -- li -- ceo tris -- te_o -- gnor.
}

verseThree = \lyricmode {
  \set stanza = "3."
  % Qui seguono le parole.
  I gra -- ppo -- li di vi -- te, d'un tral -- cio sol ger -- mo -- glio, u -- ni -- ti, sen -- zaor -- go -- glio s'i -- ne -- bria -- no di sol.
}

\score {\new StaffGroup
  <<\new Staff \with {
      midiInstrument = "choir aahs"
    } { \soprano }
    \addlyrics { \verseOne }
    \addlyrics { \verseTwo }
    \addlyrics { \verseThree }
    \new Staff \with {
      midiInstrument = "choir aahs"
    } { \alto }
    \addlyrics { \verseOne }
    \addlyrics { \verseTwo }
    \addlyrics { \verseThree }
    \new Staff \with {
      midiInstrument = "choir aahs"
    } { \clef "treble_8" \tenor }
    \addlyrics { \verseOne }
    \addlyrics { \verseTwo }
    \addlyrics { \verseThree }
    \new Staff \with {
      midiInstrument = "choir aahs"
    } { \clef bass \bass }
  >>
  \layout {indent = 0 }
  \midi {
    \context {
      \Score
      tempoWholesPerMinute = #(ly:make-moment 100 4)
    }
  }
}
\markup {\fontsize #2
\fill-line {
\hspace #15 % moves the column off the left margin;
% can be removed if space on the page is tight
\column {\hspace #80
\line { \bold "Rit." \override #'(font-name .  "URW Palladio L italic")
\column {
"Divina Eucarestia,"
"sei Cristo unito a noi:"
"che siam fratelli vuoi"
"noi tutti in pace e amor"
}
}
\hspace #60.1 % adds vertical spacing between verses
\line { \bold "               1." \override #'(font-name .  "URW Palladio L italic")
\column {
"Cresce nei campi il grano:"
"le spighe in biondo stelo"
"danno con largo zelo"
"cibo all'umanità..."
}
}\hspace #60.1 % adds vertical spacing between verses
\line { \bold "               2." \override #'(font-name .  "URW Palladio L italic")
\column {
"L'onda le fa concordi"
"al vento dolce o forte:"
"unica è la sorte,"
"felice o triste ognor."
}
}
\hspace #60.1 % adds vertical spacing between verses
\line { \bold "               3." \override #'(font-name .  "URW Palladio L italic")
\column {
"I grappoli di vite,"
"d'un tralcio sol germoglio,"
"uniti,senza orgoglio,"
"s'inebriano di sol."
}
}
\hspace #60.1 % adds vertical spacing between verses
\line { \bold "               4." \override #'(font-name .  "URW Palladio L italic")
\column {
"Di tanti grani un pane,"
"D'acini un solo vino:"
"Signore, un sol cammino"
"tracci all'umanità."
}
}
\hspace #60.1 % adds vertical spacing between verses
\line { \bold "               5." \override #'(font-name .  "URW Palladio L italic")
\column {
"Ci desti il testamento,"
"Gesù, che sei l'amore:"
"in gioia o nel dolore"
"un'alma e un solo cuor."
}
}
\hspace #60.1 % adds vertical spacing between verses
\line { \bold "" \override #'(font-name .  "URW Palladio L ")
\column {
" "
" "
" "" "" "" "" "
"   (Perugia,24 Gennaio 1991, festa di S. Francesco di Sales)"
}
}
}
\hspace #0.1 % adds horizontal spacing between columns;
% if they are still too close, add more " " pairs
% until the result looks good
\column {
\line { \bold "" \override #'(font-name .  "URW Palladio L italic")
\column {
}
}
\hspace #0.1 % adds vertical spacing between verses
\line { \bold "" \override #'(font-name .  "URW Palladio L italic")
\column {
""
}
}
}
\hspace #0.1 % gives some extra space on the right margin;
% can be removed if page space is tight
}
}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to