Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 6:49 PM, Thomas Morley wrote: > You can distinguish KeySignature and KeyCancellation by 'name: > > \version "2.16.1" > > #(define Custom_key_engraver > (make-engraver >(acknowledgers > ((key-signature-interface engraver grob source-engraver) >(let ((grob-nam

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Thomas Morley
2012/12/2 David Kastrup : > Thomas Morley writes: > >> 2012/12/2 David Kastrup : >>> Thomas Morley writes: >>> How about adding \override Staff.KeyCancellation #'break-visibility = #'#(#f #f #f) to your score? Seems to work. >>> >>> I'd write ##(#f #f #f) instead. Vectors wri

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Thomas Morley
2012/12/2 Paul Morris : > > On Dec 2, 2012, at 3:01 PM, Keith OHara wrote: > >> Paul Morris paulwmorris.com> writes: >> >>> For greater flexibility, would it make sense for PrintKeyCancellation to >>> have 3 options instead of 2? >>> 1. show key cancellations >>> 2. hide key cancellations, exce

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 3:01 PM, Keith OHara wrote: > Paul Morris paulwmorris.com> writes: > >> For greater flexibility, would it make sense for PrintKeyCancellation to >> have 3 options instead of 2? >> 1. show key cancellations >> 2. hide key cancellations, except C major / A minor >> 3. hide

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Keith OHara
Paul Morris paulwmorris.com> writes: > For greater flexibility, would it make sense for PrintKeyCancellation to > have 3 options instead of 2? > 1. show key cancellations > 2. hide key cancellations, except C major / A minor > 3. hide all key cancellations > Maybe it would have, but we ha

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
On Dec 2, 2012, at 1:16 PM, Thomas Morley wrote: > 2012/12/2 Paul Morris : >> Hi everyone, I am using >> \set Staff.printKeyCancellation = ##f >> to not show the key cancellation when you change keys[1]. But I found that >> this does not hide the key cancellation when you change back to C maj

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread David Kastrup
Thomas Morley writes: > As far as I can tell, every example in the docs uses #'#( ... ) if a > vector is given. input/regression/cue-clef-after-barline.ly:##(( ;; end-of-line: input/regression/footnote-break-visibility.ly:\once \override Score.FootnoteItem.break-visibility = ##(#f #f #t

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread David Kastrup
Thomas Morley writes: > 2012/12/2 David Kastrup : >> Thomas Morley writes: >> >>> How about adding >>> \override Staff.KeyCancellation #'break-visibility = #'#(#f #f #f) >>> to your score? >>> Seems to work. >> >> I'd write ##(#f #f #f) instead. Vectors written as #(...) are already >> constant

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Thomas Morley
2012/12/2 David Kastrup : > Thomas Morley writes: > >> How about adding >> \override Staff.KeyCancellation #'break-visibility = #'#(#f #f #f) >> to your score? >> Seems to work. > > I'd write ##(#f #f #f) instead. Vectors written as #(...) are already > constants (including quoting the contents).

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread David Kastrup
Thomas Morley writes: > How about adding > \override Staff.KeyCancellation #'break-visibility = #'#(#f #f #f) > to your score? > Seems to work. I'd write ##(#f #f #f) instead. Vectors written as #(...) are already constants (including quoting the contents). -- David Kastrup

Re: printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Thomas Morley
2012/12/2 Paul Morris : > Hi everyone, I am using > \set Staff.printKeyCancellation = ##f > to not show the key cancellation when you change keys[1]. But I found that > this does not hide the key cancellation when you change back to C major or A > minor[2] (presumably since that would leave n

printKeyCancellation, a way to never show key cancellations?

2012-12-02 Thread Paul Morris
Hi everyone, I am using \set Staff.printKeyCancellation = ##f to not show the key cancellation when you change keys[1]. But I found that this does not hide the key cancellation when you change back to C major or A minor[2] (presumably since that would leave no indication of a key change at