lilypond-user
[Top][All Lists]
Advanced

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

Re: New Syntax?


From: Mats Bengtsson
Subject: Re: New Syntax?
Date: Mon, 15 Mar 2004 11:22:20 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

I just tried your file here and I can't repeat your error.
To find out what convert-ly is trying to do, just run
convert-ly -s
You can also take a look at the ChangeLog file.

   /Mats

Will Oram wrote:
I just installed .30 on my OS X machine. lilypond now pukes when I input my old score code. convert-ly also can't seem to handle the conversion between .28 and .30, because it crashes on most files. The only change it seems to have made successfully was changing 'center' to 'center-align'. Everything else, it's failed:

convert-ly (GNU LilyPond) 2.1.30
Processing `global.ly' ... Traceback (most recent call last):
  File "/sw/bin/convert-ly", line 2153, in ?
    do_one_file (f)
  File "/sw/bin/convert-ly", line 2074, in do_one_file
    from_version = str_to_tuple (guess)
  File "/sw/bin/convert-ly", line 91, in str_to_tuple
    return tuple (map (string.atoi, string.split (s,'.')))
  File "/sw/lib/python2.2/string.py", line 225, in atoi
    return _int(s, base)
spacing s | s | s | s | s | s | s | s | s |\akreak s | \break

The above corresponds to the .ly file below:

\version "2.1.28"

spacing = \notes {
    \partial 4*1 s4 | s1 | s | s | s | s | s | s | \break
    s | s | s | s | s | s | s | s | s | \break
    s | s | s | s | s | s | s | s | \break
    s | s | s | s | s | s | s | s | s |\break
    s | s | s | s | s | s | s | s | \break
    s | s | s \bar "||" s | s | s | s | \break
}

barlines = \notes {
    \override Score.MetronomeMark   #'transparent = ##t
    \set Score.skipBars =             ##t
    \override Score.TupletBracket   #'bracket-visibility = ##f
    \override Score.TextScript      #'font-magnification = #1.25
    \override TextScript             #'extra-offset = #'(5 . 0)
\time 2/2
    \key csharp \minor
}

What doesn't lilypond .30 like in the above? Or, in general, what syntax has been changed in the new version? I'm going to have to fix the differences manually.

Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu



_______________________________________________
Lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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