-
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
No ligatures in syllable with the style tags using LuaLaTeX #1444
Comments
The proposed fix works for bold and italics. The sample for small capitals and typewriter is inconclusive because no ligature is involved.
Color is already a switch, but its doing something that already breaks the ligature. Based on this answer it appears that we need to switch from xcolor to luacolor to make this work. Is switching this dependency acceptable? |
Correction. We would need to load luacolor in addition to xcolor, not instead of it. |
Additional correction: the luacolor solution only works for LuaLaTeX. The package doesn't appear to be compatible with LuaTeX, so I'm looking for an additional option. |
After further reflection, I cannot come up with a situation where small capitals or typewriter would actually make use of ligatures. As a result, while will make the change according to the pattern for the ones which are problematic, I'm not going to worry about testing it at this point. I've looked at the soul and ulem packages, neither provide the needed fix for underlining. I'm looking for other options. Finally, the luacolor package seems to be breaking cavum shapes. I'm still investigating as to why. |
Corrected interaction issues between text styles and ligatures. The LaTeX commands like `\textit` insert italics correction, preventing ligatures being formed between their arguments if two occur sequentially. On the other hand the switches like `\itshape` do not. Since gregorio breaks up syllables around the vowel and then applies the formating commands to each part, this behavior showed up. We switch to using the switches to avoid this (except for underlining, for which a switch does not exist). See [gregorio-project#1444](gregorio-project#1444). A fix for color is still in the works.
I've got a partial fix for the color issue. It works on cavum shapes but is having difficulties with alterations. Specifically, alterations attached to a custos or clef change get filled with black (the color change to |
I was able to boil it down and it comes to color changes not happening inside |
As reported here by Sr. Maria Ruth:
liga_issues.zip
The text was updated successfully, but these errors were encountered: