>> Is there a possibility to automatically get a sharp accidental for >> the third quarter note? I could neither find a hint in the manual >> nor in the regression tests... > > Accident rules are implemented before line-breaking. If they were > to take line-breaking into account, they'd need to be quite more > complex. There is some special-cased code trying to fudge around an > accidental on a tied note broken across a barline (it should have a > repeated accidental only when a linebreak occurs) but it cannot deal > with followup changes: if another note with an accidental follows, > _that_ accidental always is printed even if spurious. > > One would have to think up a good data structure to cater in advance > for all possible line breaks and how to write rules in anticipation > of it.
Thanks for the explanation. What about the other way round, this is, adding some information to the invisible bar line that defines a broken bar, and which accidentals could use to print themselves in such cases? Werner