bug-lilypond
[Top][All Lists]
Advanced

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

Re: Scheme incompatibility


From: Mats Bengtsson
Subject: Re: Scheme incompatibility
Date: Mon, 23 May 2005 18:35:46 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

What's weird is that fractional numbers are accepted if you
specify them directly, for example
\override NoteHead #'font-size = #3.5


   /Mats

Fairchild wrote:
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


------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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