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
changing the formatting of first syllable after initial #135
Comments
If anyone is brave enough for this, #42 could be fixed at the same time (it is in the same function). |
I would like to try to fix this and #42, in order to get a better feel for that code, but I will most likely not have a satisfactory fix by release-3.0. If we need it for release-3.0, I suggest someone with more experience take a look at it. |
Well, that's very brave of yours! This code is really terrible... I thought it would be ok for 3.1, but after thinking back about it, it might introduce a backward-incompatible change: the letters of the first syllable won't be uppercased in the Maybe the best solution would be to change the c code only to remove the current uppercasing, and do the uppercasing in TeX (it's easy to know if current syllable is the first one). It will solve the issue in a much simpler way. What do you think? |
Are you sure gregorio capitalizes the first letter? It doesn't seem to do that for me. foo.gabc%% foo.tex% File generated by gregorio 3.0.0-beta |
I think the bug is something else. It's emitting something weird for \gresyllable. Or at least it seems that way to me. bad.gabc%% bad.tex% File generated by gregorio 3.0.0-beta |
Oh, I see, it seems I made the wrong diagnostic... Looks like a bug in |
The dump looks right, so I'm thinking the error is in |
I've found some other edge-cases I've missed in the pull request for this issue. I'll work on them |
Closing this issue. If additional breaking cases are found, we can reopen this or open a new issue. |
Currently Gregorio uppercases the first syllable after the initial, which make it impossible to "small capitalize". For example
doesn't work. The solution, I believe, would be to have a
\firstsyllablestyle
that defaults to uppercase, but can be changed by the user. This requires some intervention of what is certainly the biggest spaghetti plate of gregorio,lib/characters.c
, and requires bravery.The text was updated successfully, but these errors were encountered: