-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional breaks fail at grace notes #2
Comments
Where do you want the break to happen, before or after the acciaccatura?
To address grace notes with the edition-engraver you have to subtract the duration like #(ly:make-moment 0 4 -1 8) (I think).
I'm not sure if it works, though, and how to catch that with page-layout's syntax.
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
The break should be before the acciaccatura. I already tried #(ly:make-moment ...), but that actually does clash with the way page-layout seems to expect the input. (I was also mildly surprised that #'(2) and #'((2 0)) are having a different effect.) Curiously, using an explicit use of the edition engraver does work, but has some weird interactions with the conditional-breaks module. I expanded the example a bit:
|
MWE:
`
\version "2.19.83"
\include "oll-core/package.ily"
\loadPackage \with {
modules = conditional-breaks
}
page-layout
\registerBreakSet fail
\setBreaks fail line-breaks #'(2 (3 0)))
\applyConditionalBreaks fail
{
\repeat unfold 3 { \acciaccatura d''8 c''1 }
}
`
I'll see if I can investigate the issue further, but I'll probably busy with other stuff the next few days.
The text was updated successfully, but these errors were encountered: