lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3471 in lilypond: Patch: Allow decimal fractions w


From: lilypond
Subject: [Lilypond-auto] Issue 3471 in lilypond: Patch: Allow decimal fractions with non-empty parts before and after '.' in music
Date: Mon, 22 Jul 2013 17:34:34 +0000

Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new

New issue 3471 by address@hidden: 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

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