Hi,

I have for the sake a MWE a main file and a included file. When this
file was compiled alone with a header and language it compiled well.
Now, given I want to get a book with several songs, I encounter errors
since the variables disturb the compilation.

The files are attached. Please let me know how to change the input that
correct compilation occurs.

Thanks for any help!

Bernhard


-- 
spitzhalde9
D-79853 lenzkirch
[email protected]
www.b-kleine.com, www.urseetal.net
-
thunderbird mit enigmail
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09



stimme = \relative c'' {
  \global
  %Melodie
  \repeat volta 2 {
    a4 | d a8[ a] g4 fis8[ e] |
  }}

verseOne = \lyricmode {
  Auf! Chris -- ten singt fest -- li -- che 
}

repeatFirst = \lyricmode {
  Es schal -- le auf Er -- den laut 
}



\score {
  \new StaffGroup
  <<
    \new Staff
    <<
      \new Voice = "stimme" \stimme
    >>
    \new Lyrics  \lyricsto "stimme" \verseOne
    \new Lyrics  \lyricsto "stimme" \repeatFirst

  >>
  \layout {
    indent = 0
    \context {
      \Voice
      \consists "Melody_engraver"
      \override Stem #'neutral-direction = #'()
    }
  }
  global = {
    \set fontSize = #0.8
    \key d \major
    % \numericTimeSignature
    \time 4/4
    \mergeDifferentlyHeadedOn
    \partial 4
  }

  \header {
    title = "Auf! Christen singt festliche Lieder"
    composer = "Text und Melodie: Fulda, 1778"
  }
}
\version "2.19.5"
\language "deutsch"
#(set-global-staff-size 17)
\paper {
  #(set-paper-size "a4")
}
\header {
  title = "main"
  tagline = \markup {
    Gesetzt durch Bernhard Kleine mit
    \line { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
  }
}

\book {

  \bookpart {
  \include "2test.ly"
  }
}

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to