How to prevent natural signs from being printed when the key signature changes
Dear Lilyfriends, I am following the steps from the notation manual at this location: http://lilypond.org/doc/v2.18/Documentation/notation/displaying-pitches#key-signature My code is: \version 2.18.2 \score { \relative c' { \key f \major c d e f \set Staff.printKeyCancellation = ##f \clef soprano \key c \major g a g f } } But I still get the natural sign printed. http://lilypond.1069038.n5.nabble.com/file/n168456/2014-11-06-170533_1024x600_scrot.png Am I doing something wrong or is this a bug? Thank you, A -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-prevent-natural-signs-from-being-printed-when-the-key-signature-changes-tp168456.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
Re: How to prevent natural signs from being printed when the key signature changes
You did it as describe in the notation manual. Further it works for key signatures that have a sharp. But it doesn't work for C major without a neither a sharp nor a flat. I assume it's a bug. Regards, Helge 2014-11-06 12:42 GMT+01:00 Jayaratna jayara...@gmail.com: Dear Lilyfriends, I am following the steps from the notation manual at this location: http://lilypond.org/doc/v2.18/Documentation/notation/displaying-pitches#key-signature \version 2.18.2 \score { \relative c' { \key f \major c d e f \set Staff.printKeyCancellation = ##f \clef soprano \key c \major g a g f } } But I still get the natural sign printed. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to prevent natural signs from being printed when the key signature changes
Just wait a minute! If you don't have the natural sign and the next key signature has neither sharp nor flat sign, how would you read the new key signature? I think the flat is necessary here. Helge ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to prevent natural signs from being printed when the key signature changes
Ok, that one was a dummy example I made to see if the 'error' happened in a context different from the one I have in my file. Maybe it would just be good to add Trevor's explanation to the website. I actually wanted to copy the following score: I just decided to keep the f key. http://lilypond.1069038.n5.nabble.com/file/n168461/2014-11-06-183422_1024x600_scrot.png Thank you, A -- View this message in context: http://lilypond.1069038.n5.nabble.com/How-to-prevent-natural-signs-from-being-printed-when-the-key-signature-changes-tp168456p168461.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