Dear all,

On a Mac, when trying to compile the jazz-test-3.ly<http://jazz-test-3.ly> 
file, I get the following error from Lilypond re: the LilyJAZZ.ily file:

Starting lilypond 2.17.27 [jazz-test-3.ly<http://jazz-test-3.ly>]…
Processing 
`/Users/snoland/Downloads/LilyJAZZ/jazz-test-3.ly<http://jazz-test-3.ly>’
Parsing…
Interpreting music…
Preprocessing graphical 
objects…/Users/snoland/Downloads/LilyJAZZ/LilyJAZZ.ily:151:16: In expression 
(key-signature-interface::alteration-position (car alt) (cdr alt) …):
/Users/snoland/Downloads/LilyJAZZ/LilyJAZZ.ily:151:16: Unbound variable: 
key-signature-interface::alteration-position
Exited with return code 1.

Here is a snippet from the LilyJAZZ.ily that contains the above line:

%***********************************************************************
% KEY SIGNATURES
%***********************************************************************

#(define (jazz-keysig grob)
“stencil: jazz key signature (including cancellation)”
(let* ((altlist (ly:grob-property grob ‘alteration-alist))
(c0pos (ly:grob-property grob ‘c0-position))
(keysig-stencil ‘()))
(for-each (lambda (alt)
(let* ((alteration (if (grob::has-interface grob ‘key-cancellation-interface) 0 
(cdr alt)))
(glyphname (assoc-get alteration jazz-alteration-glyph-name-alist “”))
(padding (cond
((< alteration 0) 0.25) ; any kind of flat
((= alteration 0) 0.05) ; natural
((< alteration 1) 0.1) ; sharp (less than double sharp)
(else -0.4))) ; double sharp
(ypos (key-signature-interface::alteration-position (car alt) (cdr alt) c0pos))
(acc-stencil (grob-interpret-markup grob (markup #:raise (/ ypos 2) #:jazzglyph 
glyphname))))
(set! keysig-stencil (ly:stencil-combine-at-edge acc-stencil X RIGHT 
keysig-stencil padding)))) altlist)
keysig-stencil))

This error appears both when using Frescobaldi and doing a stand-alone compile 
using Lilypond.  I have a report from a PC user who has exactly the same issue 
(see "LilyPond and LilyJAZZ thread on 
lilypondblog.org<http://lilypondblog.org>).

Thanks,

Steve
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to