How do I get Balkan/Klezmer key signatures?
This is a recent addition to the standard, as of early 1996, and not many programs handle it properly yet. The notation now allows for explicit accidentals in a K: signature line, in addition to the tonic and mode. Thus [K:Dm_e^f] would represent D hijaz/freygish, with a key signature of _B_e^f. (You might also use [K:D_B^f] for the rarer form with ^c throughout.