-
Notifications
You must be signed in to change notification settings - Fork 43
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
Table difference check for determining when the gaux file should be saved is too fragile #987
Comments
This is even a bit more than that: the goal of saved_pos is to check if there's a difference between two y positions during the first run and the first run only, it should never write other positions. The best would certainly be to just write "euouaeOnDifferentLines : true" in the gaux file (if and only if there's no such value in the gaux file already), and save positions all the time, or just forget about euouae positions if they're not used |
It is possible to have more than one |
it would be a boolean per index, not much more complex... |
If we want to do it correctly, the most robust ways seems to be to store the resuts (and not the positions implying the results) in the .gaux file. For instance there should be a |
Do you have an example I can use to test the fix? |
I'm not entirely sure, but I think if you make a slur or brace on the line before an euoae block, current code should fail if this line is ragged on the second pass... |
Do you mean the line that will be made ragged if the euouae is on the next line or the line before that line? |
the line that will be made ragged when the euouae block is not the next line yes |
I cannot, unfortunately, reproduce the problem. There is no difference between my implementation of the more robust solution and the current algorithm. Should I push my changes anyway for review? |
Yes please. I was also thinking about a few simplifications: the width of the different braces could be written at each compilation, while informations about the euouae block should not be overwritten after the first compilation... but maybe you already do that? |
Should I create the pull request against develop or against a fix-987 branch in the main repository? |
|
I don't think it's necessary to add an extra check for first compilation for the euouae block. Since we are only storing true/false now, it should become stable after the first compilation. |
See #984 (comment)
The text was updated successfully, but these errors were encountered: