[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly and verticalExtent
From: |
Graham Percival |
Subject: |
Re: convert-ly and verticalExtent |
Date: |
Sat, 8 Apr 2006 02:44:33 -0700 |
On 31-Mar-06, at 9:03 AM, Daniel Johnson wrote:
\set Staff.minimumVerticalExtent = ##f
\set Staff.verticalExtent = #'(-3.25 . 3.25)
When I run this through convert-ly, it converts the first line to:
\override Staff.VerticalAxisGroup #'minimum-Y-extent = ##f
However, it does NOT convert the second line at all. For correct
behaviour, the second line should be converted to the following:
\override Staff.VerticalAxisGroup #'Y-extent = #'(-3.25 . 3.25)
I believe that adding this to line 2629 of python/convertrules.py would
solve it:
str = re.sub (r"\\set ([a-zA-Z]*\.?)VerticalExtent",
r"\\override \1VerticalAxisGroup #'Y-extent",
str)
Can we add this?
- Graham
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: convert-ly and verticalExtent,
Graham Percival <=