[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.16: warning: type check for `stencil' failed
From: |
Marc Hohl |
Subject: |
Re: 2.16: warning: type check for `stencil' failed |
Date: |
Thu, 04 Apr 2013 16:50:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
Am 04.04.2013 16:27, schrieb James Harkins:
It seems that if I write:
\override Staff.TimeSignature #'stencil = ##f
... there's no problem. But this:
\override Staff.TimeSignature #'stencil = ##t
... produces:
warning: type check for `stencil' failed; value `#t' must be of type `stencil'
I assumed the opposite of #f would be #t. Is that not a valid assumption?
Not in this case – the opposite of 'no stencil' is 'any stencil',
not '_the_ stencil' ;-)
(I ended up using the override to ##t because merely \revert-ing did
not cause time signatures to reappear after that point.)
Do you have a minimal example where
\revert Staff.TimeSignature #'stencil
does not work?
Wait a moment: the TimeSignature will only reappear within the score
when the signature has changed, i.e. from \time 4/4 to \time 3/4 back to
\time 4/4.
I think a tiny example of what you want to achieve would be very helpful.
HTH,
Marc
hjh
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user