In the example, '\set Score.currentBarNumber = #1' creates the problem. I don't see why the numbering is reset there other than to remove the number from that bar because it collides with the mark "D". There must be another way to suppress the bar number at that bar.
However, I fixed it by setting the accidental style to 'forget'. See? there is already a way to do it.
Stephen
----- Original Message ----- From: "Erik Sandberg" <[EMAIL PROTECTED]>
To: <lilypond-devel@gnu.org>
Sent: Monday, April 11, 2005 3:53 PM
Subject: removing unwanted accidentals
Hi,
There seems to be a need for a way to notate that a single note should _not_
have an accidental displayed, something like a 'force-no-accidental'
property.
I think there was a discussion about this over a year ago, without a
conclusion. Now there have been 2 or 3 (implicit) requests for it in a short
time, and IMHO it's a reasonable feature.
Also it looks pretty trivial to implement; may I give it a try?
Erik
On Sunday 10 April 2005 14.32, Karl Hammar wrote:How do I remove the unwanted explicit flats in the next to last measure in:
\version "2.4.2"
\relative c'' { \override Score.BarNumber #'break-visibility = #end-of-line-invisible \mark #03 \clef treble \key c \minor a2 b | d1 | \mark #04 \set Score.currentBarNumber = #1 d2 es8. as,16 bes8 c | % ^ ^ unwanted explicit flats here d1 }
Regards /Karl
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel
<<attachment: unwanted-page1.png>>
\version "2.4.2"
\paper { indent = 0\mm } \relative c'' { #(set-accidental-style 'forget) \override Score.BarNumber #'break-visibility = #end-of-line-invisible \mark #03 \clef treble \key c \minor a2 b | d1 | \mark #04 \set Score.currentBarNumber = #1 d2 es8. as,16 bes8 c | % ^ ^ unwanted explicit flats here d1 }
_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel