bug-lilypond
[Top][All Lists]

## Re: accidental cancelation going too far?

 From: Erik Sandberg Subject: Re: accidental cancelation going too far? Date: Fri, 27 Jan 2006 10:16:54 +0100 User-agent: KMail/1.8.3

On Thursday 26 January 2006 11.24, Paul Scott wrote:
> Erik Sandberg wrote:
> >On Thursday 26 January 2006 10.16, Paul Scott wrote:
> >>Erik Sandberg wrote:
> >>>On Thursday 26 January 2006 01.38, Paul Scott wrote:
> >>>>When running a very recent CVS version (2.7.28)  flats are remembered
> >>>>and canceled in the next bar - a sharp on that pitch shows up as a
> >>>>natural with a sharp.
> >>>>
> >>>>I haven't run the very latest CVS because I am getting some small build
> >>>>errors that I am not yet sure about.  They may only be in the
> >>>>documentation files.
> >>>
> >>>Hi,
> >>>
> >>>This is not a full lilypond input (the line \include "../common21a.ly"
> >>>stops compilation). However, I suspect the problem is the same as the
> >>>known bug auto-accidental-barnumber.ly in the bug CVS repository. If it
> >>>is not the same problem, can you please sending a working & minimal
> >>>example?
> >>
> >>Sorry.  Here it is.
> >
> >Hi,
> >
> >It is the same bug as auto-accidental-barnumber.ly.
>
> Ok.  That was a quick way to label the exercises.  I can use markup.

Hm.. you could also use the following hack as a workaround:
Change the bar number of the second bar of each line, from n to 100+n, so the
bar numbers go
1 101
2 102
3 103
4 104
etc.
The 100+ numbers will never be shown anyways, and you will get the automatic
accidentals you are looking for.

--
Erik