[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tagging Troubles
From: |
mojocojo2000 |
Subject: |
Tagging Troubles |
Date: |
Thu, 18 Oct 2007 20:48:38 -0700 (PDT) |
I'm trying to create a grand staff around two oboe parts when score.ly is
compiled. The files I'm using are belowed.
% piece.ly
music = {
% oboe I.II
\tag #'woodwinds \new GrandStaff <<
\tag #'woodwinds \tag #'ob12 \new Staff {
\tag #'woodwinds \tag #'ob12 \set Staff.midiInstrument = "oboe"
\tag #'woodwinds \set Staff.instrumentName = "Oboe I.II"
\tag #'woodwinds \set Staff.shortInstrumentName = "Ob.I.II"
\tag #'woodwinds \tag #'ob12 << \global \partcombine \oboeOne \oboeTwo >> }
% oboe III.IV
\tag #'woodwinds \tag #'ob34 \new Staff {
\tag #'woodwinds \tag #'ob34 \set Staff.midiInstrument = "oboe"
\tag #'woodwinds \set Staff.instrumentName = "Oboe III.IV"
\tag #'woodwinds \set Staff.shortInstrumentName = "Ob.III.IV"
\tag #'woodwinds \tag #'ob34 << \global \partcombine \oboeThree \oboeFour >>
}
\tag #'woodwinds >>
}
% ob12.ly
\version "2.10.0"
\include "piece.ly"
\header {
instrument = "Oboe I.II"
}
\score {
\keepWithTag #'ob12 \music
\layout { }
\midi { }
}
% score.ly
\version "2.10.0"
\include "piece.ly"
#(set-global-staff-size 14)
\score {
\new StaffGroup \keepWithTag #'woodwinds \music
\new StaffGroup \keepWithTag #'brass \music
\new StaffGroup \keepWithTag #'percussion \music
\new StaffGroup \keepWithTag #'strings \music
\layout { }
\midi { }
}
The problem is when I compile score.ly I get an error about unexpected >>.
This of course comes from the line -- \tag #'woodwinds >> in piece.ly. Is
there anyway to make this work?
--
View this message in context:
http://www.nabble.com/Tagging-Troubles-tf4650947.html#a13287912
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.
- Tagging Troubles,
mojocojo2000 <=