Hi Seng, if you add the Bar_number_engraver to a staff, you also have to add the Timing_translator:
\consists "Timing_translator" \consists "Bar_number_engraver" A "cleaner" solution could be to completely remove those two engravers from the score context and put them into the staff context. It could look like this: % ------------------------------------------------------------------------ \version "2.18.2" \layout { \context { \Score \remove "Timing_translator" \remove "Bar_number_engraver" } \context { \Staff \consists "Timing_translator" \consists "Bar_number_engraver" alternativeNumberingStyle = #'numbers-with-letters \override BarNumber.break-visibility = ##(#t #t #t) } } violinOne = \new Voice \relative c'' { c1 d \repeat volta 2 { d } \alternative { { e1 } { f } } g f e d c \bar "|." } violinTwo = \new Voice \relative c'' { a g1 \repeat volta 2 { f } \alternative { { e1 } { d } } c d e f g \bar "|." } \score { \new ChoirStaff << \new Staff << \violinOne >> \new Staff << \violinTwo >> >> } % ------------------------------------------------------------------------ Cheers, Klaus seng_liang wrote > Hi, I am using Lilypond 2.18.2 on Windows 7. I have a problem regarding > bar numbers after volta repeats. In the example, I typesetted two staves > of music, with bar numbers for both staves. The problem is, after the > second volta alternative, the bar number on the upper staff is correct, > while for the bottom staff, not only is the bar number wrong after the > second alternative, but the bar number stays the same for every bar until > the end of the music. Is this some sort of bug? This only happens when I > set the alternativeNumberingStyle to numbers-with-letters. > > Thank you. > Seng > quartet.pdf > <http://lilypond.1069038.n5.nabble.com/file/n172634/quartet.pdf> > \version "2.18.2" > > \layout { > \context { > \Staff > > } \context { \Score > \override BarNumber.break-visibility = ##(#t #t #t) > } > } > > violinOne = \new Voice \relative c'' { > > \set Score.alternativeNumberingStyle = #'numbers-with-letters > c1 d \repeat volta 2 { d } \alternative { { > e1 } { f } } g f e d c > > \bar "|." > } > > violinTwo = \new Voice \with { \consists "Bar_number_engraver" } \relative > c'' { > > > a g1 \repeat volta 2 { f } \alternative { { > e1 } { d } } c d e f g > > \bar "|." > } > > > \score { > \new ChoirStaff << > \new Staff << \violinOne >> > \new Staff << \violinTwo >> > > >> > > } -- View this message in context: http://lilypond.1069038.n5.nabble.com/Bar-number-after-volta-repeat-tp172634p172643.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user