bug-lilypond
[Top][All Lists]
Advanced

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

Seting staff-staff-spacing in a \with block causes type check error


From: Reinhold Kainhofer
Subject: Seting staff-staff-spacing in a \with block causes type check error
Date: Sat, 17 Sep 2011 20:45:51 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38-11-generic; KDE/4.7.0; i686; ; )

The attached minimal testcase (stripped down from an example in our docs) 
prints a type-check warning for a nested property:

address@hidden:~/lilypond/lilypond$ LANGUAGE=C lilypond staff-staff-
spacing-list.ly 
GNU LilyPond 2.15.12
Processing `staff-staff-spacing-list.ly'
Parsing...
Interpreting music... 
warning: type check for `staff-staff-spacing' failed; value `((stretchability 
. 5) . #<primitive-procedure ly:axis-group-interface::calc-staff-staff-
spacing>)' must be of type `list'
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `staff-staff-spacing-list.ps'...
Converting to `./staff-staff-spacing-list.pdf'...
Success: compilation successfully completed


This should actually not happen, so I guess the type check is not general 
enough to handle nested context props.

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

Attachment: staff-staff-spacing-list.ly
Description: Text Data


reply via email to

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