Re: Problem with \set currentBarNumber

2011-07-09 Thread Nick Baskin
On Tue, Jul 5, 2011 at 8:04 PM, Neil Puttock wrote: > On 26 June 2011 17:40, Nick Baskin wrote: > > > After moving the Bar_number_engraver, the Timing_translator, and the > > Default_bar_line_engraver to the Staff context, everything seems to be > > working correctly except for the repeat. The

Re: Problem with \set currentBarNumber

2011-07-05 Thread Neil Puttock
On 26 June 2011 17:40, Nick Baskin wrote: > After moving the Bar_number_engraver, the Timing_translator, and the > Default_bar_line_engraver to the Staff context, everything seems to be > working correctly except for the repeat.  The bracket for the first > alternate disappears after the final li

Re: Problem with \set currentBarNumber

2011-06-26 Thread Nick Baskin
On Sun, Jun 26, 2011 at 2:27 PM, Neil Puttock wrote: > On 26 June 2011 15:09, Nick Baskin wrote: > > Neil, > > When I try to move the Timing_translator by both adding it to the Staff > > context and removing it from the Score context, the file starts to > compile, > > but then stops without doin

Re: Problem with \set currentBarNumber

2011-06-26 Thread Neil Puttock
On 26 June 2011 15:09, Nick Baskin wrote: > Neil, > When I try to move the Timing_translator by both adding it to the Staff > context and removing it from the Score context, the file starts to compile, > but then stops without doing anything after printing the following message: > ERROR: In proced

Re: Problem with \set currentBarNumber

2011-06-26 Thread Nick Baskin
Neil, When I try to move the Timing_translator by both adding it to the Staff context and removing it from the Score context, the file starts to compile, but then stops without doing anything after printing the following message: ERROR: In procedure number->string: ERROR: Wrong type argument in po

Re: Problem with \set currentBarNumber

2011-06-26 Thread Neil Puttock
On 24 June 2011 21:19, Nick Baskin wrote: > Is this a bug, or is there something else I need to add to the Staff context > to > get the desired output? It's not a bug. currentBarNumber is maintained by the Timing_translator, which lives in the Score context unless you move it. If you don't mov

Problem with \set currentBarNumber

2011-06-24 Thread Nick Baskin
Dear list, In one piece I am working on, I have had to add the Bar_number_engraver to the Staff context, and have at one point used \set Staff.currentBarNumber to change the current bar number. Unfortunately, this effect seems to be permanent, i.e. the bar number stops advancing by 1 every bar aft