bug-lilypond
[Top][All Lists]
Advanced

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

Re: imperfect convert-ly rules


From: Keith OHara
Subject: Re: imperfect convert-ly rules
Date: Wed, 5 Jan 2011 00:00:45 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Neil Puttock <n.puttock <at> gmail.com> writes:
> 
> On 19 November 2010 02:24, Keith E OHara <k-ohara5a5a <at> oco.net> wrote:
> 
> > Now I see the value in a non-naive conversion that would produce something
> > like :
> >  between-system-padding = 5\mm
> >  system-system-spacing #'padding = #(/ between-system-padding staff-space)
> 
> I like this. :)
> 
> I was thinking of all sorts of convoluted python code involving
> dictionaries to do the conversion, but this is a much simpler method
> (while still being robust enough).
> 

Proposed patch at <http://codereview.appspot.com/3793046/> with comments on the 
patch going to lilypond-devel.


Tiny example, if we want this in the tracker:

\version "2.12.3"
\paper {
  % request 40mm center-to-center spacing, in 2.12 language
  between-system-space = #40
  % convert-ly replaces the line above with a 
  % request for 40-staff-space spacing, in 2.13.10 language :
  %  system-system-spacing #'basic-distance = #40
}
\score {
  \repeat unfold 3 { s1\break }
}





reply via email to

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