It turns out that the following version works:

scorecommon= \score {
        \paper {
                \translator { 
                        \StaffContext
                        \consists "Staff_margin_engraver";
                                \consists "Mark_engraver";
                                \consists "Bar_number_engraver";
                }
        }       
        \midi{
                \tempo 4 = 120;
        }
}

\score{
        \scorecommon
        \header {piece = "I";}
        \$Minuet1
}
\score {
        \scorecommon
        \header {piece = "II";}
        \$Minuet2
}

It looks as if the identifier \scorecommon must be at the
top of the \score blocks (but that should be easy to change
in the parser).

       /Mats



Reply via email to