> Here's the short answer:

Thanks a lot for the detailed explanation!

> chain_callback () returns SCM_UNDEFINED if the property data being
> chained isn't a procedure or closure.  [...]

For me, this seems to be the right action.

> For TupletNumber, [...] since its positioning relies on the
> coordinates calculated for its parent TupletBracket (which of
> course, might not be typeset), it has no use for 'direction.  This
> results in ly:slur::outside-slur-callback simply returning the
> existing value.
>
> [...]
>
> -> making 'Y-offset a procedure prevents chain_callback () returning
> SCM_UNDEFINED (in fact, this is currently the only way to override
> 'Y-offset for TupletNumber if 'avoid-slur is set to 'around or
> 'outside: if 'check-internal-types isn't set, compilation naturally
> succeeds, but the value is discarded)

It looks like more than a single option is available to fix this:

  . Make TupletBracket provide a dummy direction for TupletNumber.

  . Provide a (dummy) default value for Y-offset.

Somehow I consider the latter as the better solution.  Or do you think
that this is a fundamental flaw which needs a more extended patch?


    Werner

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to