james <[email protected]> writes: > In the following: > \version "2.14.2" > \score { > \relative c' { > \time 2/4 > \set Staff.keySignature = #`(((0 . 4) . ,SHARP) ((0 . 3) . ,SHARP)) > \clef treble > c8 a c d > %%% Commenting out the following line solves the problem %%% > \clef bass > e fis d c > } > \layout {} > } > > The clef change causes lilypond to error and not produce output. This also > errors in 2.15., while 2.12 does not error. Is there some way around this?
>From 7dba3c0c0c93306ccf29c27ddf1d34847c01d203 Mon Sep 17 00:00:00 2001 From: David Kastrup <[email protected]> Date: Tue, 14 Aug 2012 06:15:33 +0200 Subject: [PATCH] Fix problem changing clef with custom keysigature --- scm/music-functions.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scm/music-functions.scm b/scm/music-functions.scm index cd0ff32..b9c5d1d 100644 --- a/scm/music-functions.scm +++ b/scm/music-functions.scm @@ -1347,7 +1347,7 @@ immediately', that is, only look at key signature. @code{#t} is `forever'." For convenience, returns @code{0} if entry is @code{#f}." (if entry - (if (number? (car entry)) + (if (number? (cdr entry)) (cdr entry) (cadr entry)) 0)) -- 1.7.9.5
-- David Kastrup
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
