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
lilypond-user@gnu.org
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: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================


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

Reply via email to