gnu-music-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lily 1.3.111


From: Mats Bengtsson
Subject: Re: lily 1.3.111
Date: Sun, 26 Nov 2000 23:29:19 +0100

I addition to the new features, there are also som bugs.
For scores with StaffGroups, and GrandStaffs, you get the
following kind of warning and no brackets or braces are
produced in the output:

Failed typecheck for `glyph', value `bracket' must be of type string
Failed typecheck for `glyph', value `brace' must be of type string

The following patch seems to solve the problem, but I'm not
sure it's the best way to solve it (clef glyphs are strings
and SystemStartDelimiter glyphs are symbols at the moment).

        /Mats

--- scm/backend-property.scm~   Fri Nov 24 18:20:15 2000
+++ scm/backend-property.scm    Sun Nov 26 23:25:31 2000
@@ -143,7 +143,7 @@
 
 (elt-property-description 'glyph symbol? "a string determining what style of  
glyph is typeset. Valid choices depend on the function that is reading this 
property. ")
 (elt-property-description 'glyph string? "what kind barline? A concatenation 
of |, : and .")
-(elt-property-description 'glyph string? "a string determining what glyph is 
typeset")
+(elt-property-description 'glyph string-or-symbol? "a string determining what 
glyph is typeset")
 
 
 (elt-property-description 'grow-direction dir? "crescendo or decrescendo?")
--- scm/lily.scm~       Sun Nov 26 20:05:13 2000
+++ scm/lily.scm        Sun Nov 26 23:23:41 2000
@@ -24,6 +24,7 @@
   (and (pair? x) (number? (car x)) (number? (cdr x))))
 (define (boolean-or-symbol? x) (or boolean? x) (or symbol? x))
 (define (number-or-string? x) (or (number? x) (string? x)))
+(define (string-or-symbol? x) (or (string? x) (symbol? x)))
 (define markup?
   (lambda (x) (or (string? x) (list? x))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]