DescriptionAllow 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.
Patch Set 1 #Patch Set 2 : Can't allow in chordmode because of c:13.11^3.7 #MessagesTotal messages: 3
|