lilypond-devel
[Top][All Lists]
Advanced

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

Re: 64-bit Mac build of 2.20 is now available! (convert.ly issue)


From: Zone Dremik
Subject: Re: 64-bit Mac build of 2.20 is now available! (convert.ly issue)
Date: Thu, 19 Mar 2020 18:03:36 +0000 (UTC)

 Thank you David, Marnen, David and Carl for your excellent suggestions and 
helpful examples. (I will definitely be using more variables in the future.)
For the convert.ly issue, your recommendations inspired me to try using BBE. 
The multi-file search & replace function worked very well (this was with the 
free version of BBE, so I was very impressed).

Further note:
I ran a few more of the older files through convert.ly and found that it is 
finding & updating other instances of obsolete syntax, beyond the two that are 
missing.

Here is a code sample, before & after, for a successful convert.ly:

\version "2.12.2"
\include "english.ly"
 \override LyricText #'font-shape = #'italic

\version "2.20.0"
\include "english.ly"
 \override LyricText.font-shape = #'italic

(A side note: By mistake, I ran the compile before convert.ly and was surprised 
that the Lilypond 2.20 didn't reject the obsolete syntax. I definitely don't 
have any other versions installed on this machine.)

I'm so glad to be back in business with this 64bit build!

All the best
     On Wednesday, March 18, 2020, 10:55:16 PM EDT, David Wright 
<address@hidden> wrote:  
 
 On Wed 18 Mar 2020 at 16:18:02 (+0000), Zone Dremik wrote:
>  It was quite a few years ago that copied this code sample from the LilyPond 
>Notation Reference v2.18.2 webpage:
> http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-paper-variables
> I've compiled hundreds of Lead-Sheets with it, but haven't up-dated Lilypond 
> since 2.18.2 until now.

Perhaps you could run sed over the files, if the relevant lines are
formatted reasonably consistently. Something like:

$ cat /tmp/sed.ly 
  system-system-spacing = #'((minimum-distance . 0) (basic-distance . 15) 
(padding . 9))
  markup-system-spacing #'basic-distance = #15
  top-system-spacing  #'basic-distance  =#15
  last-bottom-spacing #'basic-distance=  #15
  last-bottom-spacing #'padding=#9
$ sed -e "s/\(-spacing\)[ ]\+#'\([^ ]\+\)[ ]*=[ ]*#/\1.\2 = #/;" /tmp/sed.ly 
  system-system-spacing = #'((minimum-distance . 0) (basic-distance . 15) 
(padding . 9))
  markup-system-spacing.basic-distance = #15
  top-system-spacing.basic-distance = #15
  last-bottom-spacing.basic-distance = #15
  last-bottom-spacing.padding = #9
$ 

Cheers,
David.
  

reply via email to

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