2012/10/16 David Nalesnik <[email protected]>:
> Hi Janek,
>
>>> 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)))
>
>
> Checking the Internals Reference, it looks like 'gap has been renamed
> 'beam-gap, so changing that line should fix the problem.
>
> -David
Hi David,
'beam-gap is now a pair.
So I'm not sure if it should be
(car (ly:grob-property grob 'beam-gap))
or
(interval-length (ly:grob-property grob 'beam-gap))
Currently I haven't found a proper documentation:
git grep beam-gap
Documentation/misc/CHANGES-1.3:beams on whole notes. 'beam-gap' had been rename
Documentation/misc/ChangeLog-2.1: lines for falling into beam-gap.
lily/beam.cc: Interval gap_lengths = robust_scm2interval (me->get_property ("be
lily/beam.cc: "beam-gap "
scm/define-grob-properties.scm: (beam-gap ,number-pair? "Size of a gap in a
scm/define-grobs.scm: (beam-gap . ,ly:beam::calc-beam-gap)
Quoting "Documentation/misc/CHANGES-1.3":
1.3.153
=======
[...]
* Chord tremolo fixes: shift beams vertically on whole notes. Center
beams on whole notes. 'beam-gap' had been renamed to 'gap', but only
for reading.
I'm investigating further.
-Harm
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user