Here is the corrected input file.

I ran
lilypond-book testbook.lytex
pdflatex testbook.tex

without errors which produces a correct (though strangely aligned) pdf file.

Cheers,
Joram
% test
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
%
\begin{document}
\begin{center}
\begin{LARGE}
\textbf{Test}
\vspace{1em}
\end{LARGE}
\end{center}

\noindent
Das ist der Text...
\begin{lilypond}
\version "2.18.2"
\include "deutsch.ly"

\header {
        title = "La Paloma"
        poet = "Helmut Käutner"
        composer = \markup \center-align {"Werner Eisbrenner"
                                          \small "nach"
                                          "Sebastian Yradier"
                                          \small "(1809 - 1865)"}
        enteredby = "Ulrich Windl"
}

papersize = "a4"

melody = \context Voice = "melodie" \relative c' {
        \clef violin
        \key a \major
        \time 2/4 
        \repeat "volta" 2 {
                r4. e8 | e2 ( |
                \times 2/3 { e8 ) cis d } e fis |
                \times 2/3 { gis a fis } gis e |
                d2 |
                r4. e8 |
                b'2 ( |
                \times 2/3 { b8 ) cis a } b gis |
                \times 2/3 { a gis fis } e8. d16 |
                cis2 
        }
        
        \repeat "volta" 2 {
                \times 2/3 { a'8 a a } a gis |
                \times 2/3 { b b a } gis fis |
                fis e4. ( | e2 ) |
                \times 2/3 { gis8 gis gis } gis fis |
                \times 2/3 { fis e e } e8. fis16 |
                e d cis4. ( |
                cis2 ) 
        }
        
        \repeat "volta" 2 {
                \times 2/3 { r8 e e } \times 2/3 { e fis dis! } |
                e2 |
                \times 2/3 { r8 e e } \times 2/3 { e e fis } |
                gis4 b ( |
                \times 2/3 { b8 ) cis a } \times 2/3 { b gis a } |
                \times 2/3 { fis gis a }  \times 2/3 { cis4 b8 } |
                \times 2/3 { b, cis d } \times 2/3 { fis4 e8 } |
        }
        \alternative { {cis2} {a2} }
}

harmony = \chords {
        \germanChords
        \repeat "volta" 2 {
                r2 a r r e r e:7 r r a
        }
        \repeat "volta" 2 {
                r r e r r e:7 a r
        }
        \repeat "volta" 2 {
                r r r e:7 r r h4 e:7 a2
        }

}

textA = \lyricmode {
     Ein Wind weht von Süd und zieht mich hi- naus auf See.
     Mein Kind, sei nicht trau- rig, tut auch der Ab- schied weh!
     Mich trägt die Sehn- sucht fort in die blau- e Fer- ne,
     un- ter mir Meer, und ü- ber mir Nacht und Ster- _ ne,
     Auf, Ma- tro- sen, oh- é! Ein- mal muß es vor- bei sein.
     Nur Er- inn'- rung an Stun- den der Lie- be bleibt noch an
     Land zu- rück.
}

textB = \lyricmode {
     Mein Herz geht an Bord, und fort muß die Rei- se gehn,
     dein Schmerz wird ver- gehn, und schön wird das Wie- der- sehn.
     Vor mir die Welt. So treibt mich der Wind des Le- bens.
     Wein' nicht, mein Kind, die Trä- nen, sie sind ver- ge- _ bens!
     See- manns Braut ist die See, und nur ihr kann er treu sein.
     Wenn der Sturm- wind sein Lied singt, dann winkt mir der gro- ßen
     Frei- heit _ Glück.
}

\book {
        \score {
                <<
                        \new ChordNames {
                                \harmony
                        }
                        \new Voice {
                                \autoBeamOff
                                \melody
                        }
                        \new Lyrics \lyricsto "melodie" \textA
                        \new Lyrics \lyricsto "melodie" \textB
                >>
                \header {}
                \layout {}
                
                \midi {
                        \context {
                                \Score
                                tempoWholesPerMinute = #(ly:make-moment 60 4)
                        }
                }
        }
        \markup {
            \column {
                \line{Wie blau ist das Meer, wie groß kann der Himmel sein?}
                \line{Ich schau' hoch vom Mastkorb weit in die Welt hinein.} 
                \line{Nach vorn geht mein Blick, zurück darf kein Seemann
        schaun.}
                \line{Kap Horn liegt auf Lee, jetzt heißt es auf Gott
        vertrau'n.}
            }
        }
}
\end{lilypond}
Mehr Text
%\lilypondfile[quote,noindent]{file2.ly}
Das war's.
\end{document}
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to