[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly error
From: |
Erik Sandberg |
Subject: |
Re: convert-ly error |
Date: |
Mon, 18 Oct 2004 18:49:54 +0200 |
User-agent: |
KMail/1.6.2 |
On Sunday 17 October 2004 22.17, Ruud van Silfhout wrote:
> Hi,
>
> I just started to help the Mutopia project to get rid of a lot of very
> old files.
> I know that convert-ly is just a tool to ease conversion and not a
> mechansim to get a perfectly converted result that runs
> 'out-of-the-(converter)-box. But I would be glad if some problems
> are solved more automatically.
> 1. text markup is in many cases not translated
> 2. superfluous braces placed see:(\fp)()
> 3. slur-end is placed after rest: <ef c a>4( <d b>8 r)
>
> As fas as I know the converter is written in python and I know nothing
> of python I am not able to fix these problems.
> Can someone have a look into this and tell me whether these problems can be
> fixed?
The script is based on regular expressions; hence things like nested
parenthesis expressions are not possible to express with it. This is what
causes your problems. There is limited support for converting those
expressions, but as soon as you use parentheses within parentheses, it
doesn't work anymore.
AFAIK there are no short-term plans to fix this.
> Regards,
> Ruud van Silfhout
>
> an example (taken from beethovens Pathétique):
>
> \version "1.6.9"
> <c4^#'(Large ((raise . 2) "Grave")) \fp g ef> ~ [<c16. g ef> <c32 g> <d16.
> b g> <ef32 c g>]
> <ef4( c a> <)d8 b> r
> is converted into:
> <c^#'(Large raise . 2) "Grave"g ef>4(\fp)() ~ <c g ef>16.[ <c g>32 <d b
> g>16. <ef c g>32]
> <ef c a>4( <d b>8 r)
>
>
>
- convert-ly error, Ruud van Silfhout, 2004/10/17
- Re: convert-ly error,
Erik Sandberg <=