----- Original Message ----- From: "Janek Warchoł" <janek.lilyp...@gmail.com> To: "David Nalesnik" <david.nales...@gmail.com>; "Thomas Morley" <thomasmorle...@googlemail.com>; "David Kastrup" <d...@gnu.org>; "LilyPond Users" <lilypond-user@gnu.org>
Sent: Tuesday, October 16, 2012 6:53 AM
Subject: tuplet numbers on kneed beams - David's function stopped working


Hi,

David Nalesnik's function correcting tuplet number placement on kneed
beams throws an error with Lilypond 2.17.5 (it works with 2.16.0):

Drawing systems.../home/janek/desk/tuplet_numers_on_kneed_beams.ily:44:26:
In procedure * in expression (* 0.5 (ly:grob-property beam #)):
/home/janek/desk/tuplet_numers_on_kneed_beams.ily:44:26: Wrong type: ()

line 44 reads:
(beam-gap (* 0.5 (ly:grob-property beam 'gap)))

i have no idea why this doesn't work.  I had looked for commits that
said something about gaps, but hadn't find anything.  Maybe it's
related to some commits about grob-properties:

6d70f060737dabc13c3fce1ec811f534ca94e585
Author: David Kastrup <d...@gnu.org>
Date:   Mon Sep 24 11:59:42 2012 +0200

   Issue 2856: Get along with use of grob-property instead of
grob-property-path in overrides

or

dda8739f019fad832b2c59aa5675a42717c15637
Author: Keith OHara <k-ohara5...@oco.net>
Date:   Wed Aug 29 12:47:47 2012 -0700

   grob-property.cc: outdated comment

?

David's function is in the attachment.

best,
Janek


Since you're running this on the development version, you could narrow down the problematic commit with git bisect.

--
Phil Holmes

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to