lilypond-user
[Top][All Lists]
Advanced

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

Re: Update syntax


From: Trevor Bača
Subject: Re: Update syntax
Date: Sun, 4 Feb 2007 12:32:26 -0600

On 2/4/07, Ole Schmidt <address@hidden> wrote:
Hi Trevor,

When I try to use convert-ly via the terminal (I am using Mac OS X
10.4.8)
or via Lilypond / Compile-menu/ Update syntax, I get the following
error message:
-----------------------
  Traceback (most recent call last):
   File "/Applications/LilyPond.app/Contents/Resources/bin/convert-
ly", line 22, in ?
     import lilylib as ly
ImportError: No module named lilylib

-----------------------
This happens with both versions 2.11.15-1 and 2.10.15-1
what is wrong?

By the way: is there also another way to get the most recent command-
changes?

Hi Ole,

convert-ly is usually very reliable (and important) from version to
version. But you can also read about the command changes by looking at

 python/convertrules.py

which is the python file that houses the different rules. What you're
looking for in that file are the lines like this ...

 conversions.append (((2, 11, 15), conv, """#'edge-height ->
#'bound-details #'right/left #'text = ..."""))

... which contains three arguments in the version as a tuplet
(2.11.15), the code to do the conversion (labelled conv), and then a
verbal description of the rule enclosed in a triple-quote string. If
you simply read over the verbal descriptions inside those triple-quote
strings, you can get a pretty idea of which commands have changed.

Read from the bottom of the file up since it's only really the most
recent changes that will be interesting.



Am 03.02.2007 um 00:53 schrieb Trevor Bača:

> ›Hi Ole,
>
> edge-text went away in 2.11.15 and is now replaced by two separate
> constructions, one for the left edge and one for the right edge.
>
> Try reading about convert-ly in the manual and run convert-ly on a
> file with \version "2.11.1" at the top. The conversion script will
> then spit out the correct new syntax for you to see.

--
Trevor Bača
address@hidden

reply via email to

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