Hi, Adam and Hans (in alphabetical order), I had to stop to think about it (the key signature problem). *Result: forget about all the fancy tricks, LilyPond can do it out-of-the-box!*
It's rather uncommon (to say the least) to spare out a certain scale step from the key signature, so it took a while until I noticed that this can be done in a very simple and obvious way. Even transposition will work, provided all the accidentals/notes needed are there. Just leave do not specify the tonic scale step in the scale/key definiton! That's all! ;) That way it will never be printed in the key signature. If we set up the two special key signatures bestenigâr and revnaknüma completely without step 0 (and 7), the definitions will look like this: bestenigar = #'((1 . -24/53)(2 . -24/53)(3 . 0)(4 . -24/53)(5 . -48/53)(6 . -24/53)) revnaknuma = #'((1 . -24/53)(2 . 0)(3 . 0)(4 . 0)(5 . -24/53)(6 . -24/53)) KeySigIssues.ly <http://lilypond.1069038.n5.nabble.com/file/t3887/KeySigIssues.ly> Demonstrating bestenigâr, revnaknüma (and the untouched hüzzâm for comparison), all the requirements are met without any hazzle: <http://lilypond.1069038.n5.nabble.com/file/t3887/redef-bestenigar-revnaknuma.png> We all know an extreme case of ignoring accidentals in the key signature: when specifying no key at all, it's not C major, it's just nothing and there will be no key signature and all the accidentals will be displayed in the music. Here, we just have a mixture of the two extremes: all steps specified vs. nothing specified, it just took me a while to realize. LilyPond is so amazing… :D HTH, Torsten -- Sent from: http://lilypond.1069038.n5.nabble.com/Dev-f88644.html _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel