Status: Started
Owner: [email protected]
Labels: Type-Enhancement Patch-new

New issue 3471 by [email protected]: Patch: Allow decimal fractions with non-empty parts before and after '.' in music
http://code.google.com/p/lilypond/issues/detail?id=3471

Allow decimal fractions with non-empty parts before and after '.' in music

This permits writing things like

mkMove = #(define-music-function
        (parser location x y)
        ( number? number? )
        #{ \once \override TextScript #'extra-offset = #(cons x y)
        #})

{
        \mkMove 4.4 -3.3
        c1^"XY"
}

Since integers are accepted in this kind of usage, not accepting
floating point numbers appears inconsistent.

While in INITIAL mode like inside of layout blocks, real numbers can
be written like 4. or -.3 for historic reasons, permitting this inside
of music could easily lead to confusion with durations or
articulations, so those spellings remain invalid in music modes.

http://codereview.appspot.com/11682043

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to