lilypond-user
[Top][All Lists]
Advanced

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

Re: lyric-word regression


From: David Nalesnik
Subject: Re: lyric-word regression
Date: Wed, 25 Feb 2015 07:49:40 -0600

Hi,

On Wed, Feb 25, 2015 at 2:54 AM, Urs Liska <address@hidden> wrote:
Am 25.02.2015 09:36, schrieb Simon Albrecht:

The usual mistake… and once again with attachment ;-)

Am 25.02.2015 um 09:35 schrieb Simon Albrecht:
Hello David, (hello list,)

unfortunately through some change between versions 2.19.8 and .15 your very useful lyric-word-compressor code ceased to work. It exits with an error stating that ‘value #<grob_properties> must be of type <list>’ (written from memory). Could you please help with this?


Glad you are finding this helpful!

All you need to do is replace the predicate list? with ly:grob-properties? in one line:

  #(define (add-grob-definition grob-name grob-entry)
   (let* ((meta-entry   (assoc-get 'meta grob-entry))
          (class        (assoc-get 'class meta-entry))
          (ifaces-entry (assoc-get 'interfaces meta-entry)))
     (set-object-property! grob-name 'translation-type? ly:grob-properties?)
[...]

--David


reply via email to

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