lilypond-auto
[Top][All Lists]
Advanced

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

Re: [Lilypond-auto] Issue 1670 in lilypond: Allow numbers in variable na


From: lilypond
Subject: Re: [Lilypond-auto] Issue 1670 in lilypond: Allow numbers in variable names: violin1mvt2 = c'
Date: Mon, 29 Oct 2012 01:28:36 +0000

Updates:
        Status: Started
        Labels: -Patch-waiting Patch-new

Comment #21 on issue 1670 by address@hidden: Allow numbers in variable names: violin1mvt2 = c'
http://code.google.com/p/lilypond/issues/detail?id=1670

After some syntax discussions (GLISS) it appears that LilyPond will continue to allow notes outside of any {} or <> braces, so defining variables containing digits continues to be ambiguous:
    links2a = \myFunction   recs2a = \otherFunction
(In Spanish, 'recs2' is a note, which could be an argument of \myFunction, and 'a' is a valid variable name.) There is widespread opinion, comments 2--6, that using quotes around things like "recs2a" to resolve this ambiguity, is unwise.

Bernard pointed out that a designated lead-in character before the digits would avoid any ambiguity. He suggested preceding any digits with '0', but in LilyPond the dot character '.' is already familiar as a joining character, as in "\override Staff.BarLine".

Then we can continue to write \skip2 for a \skip of duration 2, but we can also write
  violin.1 = \relative f {c'4 d e f}
  \new Staff { \violin.1 }

http://codereview.appspot.com/6493072/




reply via email to

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