On 2017/10/06 08:19:46, dak wrote:
Stupid question: is there no way to (re-)use the default callbacks
which know
about all those little details?  Set `direction` to neutral and call
them for
advice?

I’m not sure what you mean: Don’t do anything to Y-offset or
staff-position but set direction to CENTER? This seems to work for MMRs
but for Rests it gives warnings of the type
        warning: cannot resolve rest collision: rest direction not set
Of course it would be nice if you wouldn’t have to \override
staff-position for both Rests and MMRs in the engraver because this
prohibits a manual \override by the user. But there’s this little
inconsistency:

{
  \override Rest.staff-position = 0
  \override MultiMeasureRest.staff-position = 0
  r1
  R1
}

https://codereview.appspot.com/334740043/
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to