lilypond-user
[Top][All Lists]

## Re: New Syntax?

 From: Stan Sanderson Subject: Re: New Syntax? Date: Sun, 14 Mar 2004 17:47:35 -0600

FYI-

OS 10.3.2, Lilypond 2.1.30 from Fink unstable tree:


No problems encountered when converting 2.1.28 files; successful conversions done from 2.1.10 files and some later.

Stan

On Mar 14, 2004, at 10:17 AM, 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


`