>>>>> "Martin" == Martin Sander <[EMAIL PROTECTED]> writes:
Martin> Jan Nieuwenhuizen wrote:
>>
>>
>> You must turn bar numbering on first.
>>
>> add: \translator {\BarNumberingStaffContext }}
>>
>> to \paper (see input/test/bar-number.ly).
>>
Martin> I have a piece with three staves (trumpet, 2 hands piano)
Martin> and did exactly that \translator-adding. It works, of
Martin> course, but now the bar numbers are printed at EACH staff
Martin> instead of just on the top one.
Here's what I use with Lily 1.3.17
\paper {
\translator { \ScoreContext \consists Bar_number_engraver; }
}
or if there's only one staff :
\paper {
\translator { \StaffContext \consists Bar_number_engraver; }
}
--
Laurent Martelli
[EMAIL PROTECTED]