bug-lilypond
[Top][All Lists]
Advanced

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

Re: tuplet number on cross-staff kneed-beam


From: Colin Campbell
Subject: Re: tuplet number on cross-staff kneed-beam
Date: Tue, 05 Jul 2011 20:39:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10

On 11-07-05 01:44 AM, Valentin Villenave wrote:
On Mon, Jul 4, 2011 at 11:10 PM, David Nalesnik<address@hidden>  wrote:
Hello, all --
Greetings,

First of all, I hope that I'm asking this question on the appropriate list!
Since you're demonstrating a regression, I'm forwarding your message
to our bug- list.

I'm trying to simplify the workaround relating to tuplet-number
position on kneed beams
http://lsr.dsi.unimi.it/LSR/Snippet?id=646
and I'm running into an unexpected problem.

My reasoning is that, since the tuplet number is positioned according
to the bracket, a logical first (certainly hacky!) step is to move the
(invisible) bracket to the beam by setting the 'positions property of
the bracket to that of the beam.  Then, the position of the number
could be refined according to its height, the thickness of the beam,
etc.

This works as planned, except that in 2.14.1, the staves are pushed
apart dramatically.  \override Beam #'collision-voice-only has no
effect on the problem.  Manually setting Beam #'positions can be used
to fix the problem, but that is obviously inconvenient.

I've attached an .ly file with the function (stripped down to fit just
this case), and several images of the output (one is produced with
2.12.3, the other two with 2.14.1 -- one with an override of the Beam
#'positions).  There doesn't appear to be any problem in 2.12.3.

Is there anything I can do to fix this problem with the function?  Any
help would be greatly appreciated!
Indeed, it's a problem I've been stumbling across as well. Several new
properties have been introduced with 2.14 ("stretchability", etc.);
you may want to have a look at
http://lilypond.org/doc/v2.15/Documentation/notation/flexible-vertical-spacing-within-systems#within_002dsystem-spacing-properties

Whether the default behavior can/should be improved, is a question for
the Bug Squad :-)

Cheers,
Valentin.


This will probably require an issue, David, but could you send the code you used to produce the 2.12.3 version, please? I can't reproduce the previous stable example, in order to confirm the regression, because your Scheme-ing gives an error:
LilyPond 2.12.3 [music.ly] starting (preview mode)...
Processing `music.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...music.ly:19:12: In procedure + in expression (+ (ly:grob-property beam #) (/ # 2)):
music.ly:19:12: Wrong type argument in position 1: ()
LilyPond [music.ly] exited with return code 1.


thanks, David

Colin Campbell
 Bug Squad

--
The human race has one really effective weapon, and that is laughter.
-- Mark Twain




reply via email to

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