Updates:
Status: Fixed
Labels: -Patch-push Fixed_2_17_23
Comment #8 on 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
Pushed to staging as
commit 680df85187d0f3862b1ef1cf7a14f8ad7b7f0ee9
Author: David Kastrup <[email protected]>
Date: Mon Jul 22 19:11:59 2013 +0200
Issue 3471: Allow decimal fractions with non-empty parts before and
after '.
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.
Decimal fractions are also not accepted in \chordmode since this would
preclude chord entry like c:13.11^3.7 and similar.
--
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