-
Notifications
You must be signed in to change notification settings - Fork 45
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
Suppressed a z0 custos separated from a line break (z) by only bars/clefs. #1198
Conversation
@@ -5,6 +5,7 @@ As of v3.0.0 this project adheres to [Semantic Versioning](http://semver.org/). | |||
[Unreleased][unreleased] | |||
## Changed | |||
- Notes are now left-aligned as if all clefs had the same width as the largest clef in the score. You can get previous behavior back with `\grebolshiftcleftype{current}`, or temporary force alignment until the end of a score with `\grelocalbolshiftcleftype`. See Documentation of these functions and [#1189](https://github.com/gregorio-project/gregorio/issues/1189). | |||
- If only bars and clefs are between an explicit custos `(z0)` and a line break `(z)`, the explicit custos will be suppressed (see [1190](https://github.com/gregorio-project/gregorio/issues/1190)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I think the most important part is that now things like (c4z)
will work properly.
Edit: sorry, I didn't realize you din't implement it yet!
Well, the changes look OK to me, but I don't think they really make sense without the changes that make (c4z) work properly (meaning: just changing clef, not prinint it) |
Ok, I'm confused. How is |
Hmmm, I realize I wasn't clear in my initial comment, for instance in #1190 (comment) what I call a "clef change" is not really typing the clef, it's just instructing GregorioTeX to change the clef at the beginning of lines... Basically, the idea is that when a |
Ok, if I understand correctly, a clef immediately before a line break in GABC should be typeset as an instruction to change the "line clef" starting with the line after the line break. Is that correct? |
This gets tricky positioning the custos in the localrightbox before such a clef change. Any ideas would be appreciated. |
It's correct yes, and the discretionary mechanism should not be used. For the custos, I think it's computed in the exact same way as if it was a |
Part of the implementation for gregorio-project#1190.
I need help here. I made the changes, and the executable emits |
Thanks a lot, I'll take a look tomorrow |
Well, these days seem very busy, I'm not sure I'll be able to test, I'll tell you when I can (maybe not before next week). @rpspringuel maybe you would have time to take a look and debug the TeX side? |
Trying the pull request I'm getting:
(with gcc6 on debian/sid) |
Ok, nailed it: |
[with thanks to @eroux] Part of the implementation for gregorio-project#1190.
Thanks. I made the change, reviewed the tests and accepted those changes as well. This is now ready for review and merge if satisfactory. |
Well, everything looks ok to me, maybe we could just add a test with |
Done. Please review. |
Fixes #1190.
Some tests (that happen to employ this sequence of figures) change, and a test was added to exercise all the variants in the issue post.
Please review and merge if satisfactory.