Wenn ich diesen Code in Frescobaldi durchlaufen lasse, ist alles in Ordnung.
\version "2.24.4"
global = {
\key c \major
\time 4/4
}
violin = \relative c'' {
\global
a
}
\score {
\violin
}Setzte ich aber jetzt ein bookpart herum:
Zitat\bookpart {
global = {
\key c \major
\time 4/4
}
violin = \relative c'' {
\global
a
}
\score {
\violin
}
}
Dann bekomme ich folgende Fehlermeldungen:
ZitatC:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:8:3: Fehler: syntax error, unexpected SYMBOL
global = {
C:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:13:3: Fehler: syntax error, unexpected SYMBOL
violin = \relative c'' {
C:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:14:5: Fehler: Ungültige Fluchtsequenz: »\global«
\global
C:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:14:5: Fehler: Textzeichen außerhalb von Textbeschriftungs- oder \lyricmode-Umgebung
\global
C:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:20:5: Fehler: Ungültige Fluchtsequenz: »\violin«
\violin
C:/Users/STEPHA~1/AppData/Local/Temp/frescobaldi-zrig36vy/tmp4mqaguub/document.ly:20:5: Fehler: Textzeichen außerhalb von Textbeschriftungs- oder \lyricmode-Umgebung
\violin
Was ist falsch?
bookpart nur um score herum
\version "2.24.4"
global = {
\key c \major
\time 4/4
}
violin = \relative c'' {
\global
a
}
\bookpart {
\score {
\violin
}
}
Danke. Stimmt, löst aber mein Problem nicht. Ich will mehrere Stücke in einem bookpart zusammenfassen.
\version "2.24.4"
global = {
\key c \major
\time 4/4
}
violin = \relative c'' {
\global
a
}
violinB = \relative c'' {
\global
b
}
\bookpart {
\score {
\violin
}
\score {
\violinB
}
}
Danke. Letztendlich geht es um eine Workflowfrage, ich habe viele Stücke, die ich nach Kategorieen sortiere und dann im bookpart zusammenfassen will, aber dann noch einmal sortieren muss. Bei deinem Beispiel dachte ich mir, das Leben wird ganz praktisch, aber Pustekuchen.
Dieses Beispiel zeigt, wo das Problem liegt.
\version "2.24.4"
global = {
\key c \major
\time 4/4
}
violin = \relative c'' {
\global
a
}
violinB = \relative c'' {
\global
b
}
\bookpart {
\score {
\violin
}
}
\bookpart {
\score {
\violinB
}
}