lilypond-user
[Top][All Lists]
Advanced

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

Scheme incompatibility


From: Fairchild
Subject: Scheme incompatibility
Date: Mon, 23 May 2005 10:21:24 -0500

This code works:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.4.3"
size = #3
\score {{\relative c'' {
\override NoteHead #'font-size = \size
c }}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Change the number to
     size = #3.
and it doesn't work.

It seems Scheme code distinguishes integers from real numbers in a way that is incompatible with LilyPond.  It is necessary to convert "inexact" values. E.g.:

     size = #( inexact->exact 3. )
which is acceptable.  That's a pain.

Should I:
A. Further my education,
B. Live with it,
C. Report it as a bug,
D. Suggest a documentation addition for Appendix B of the User Manual, and/or
E. Submit a feature request for compatibility.

Advice?  Comments?

                - Bruce


reply via email to

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