Jürgen Spitzmüller
Jürgen Spitzmüller
Seems fixed.
yes, it's a bug. Workaround is to write before polyglossia is loaded: ```tex \def\familytype{rm} ``` Thanks for reporting!
Fixed for the next release. The issue here was that the command execution needed to be postponed after the languages have been loaded, as with `\disablehyphenation`
> I can confirm the workaround works perfectly well. Note that a better workaround for now is to use ```tex \AddToHook{begindocument/end}{ \pghyphenation{german}{Do-nau-dampf-schiff-fahrts-ka-pi-täns-müt-ze} } ``` since `\pghyphenation` also requires the languages...
I thought about this but I think it make more sense to initiate the hyphenation exceptions after the languages have been set.
Maybe. I wanted to fix the regression, and that's what I did.
Go ahead if you think you can improve it.
OK, I have an idea. Hang on.
You probably mean `hyphenrules`. That's what I am currently trying.
`hyphenrules` simply switches the patterns (which `\selectlanguage` does as well, next to other things) `\__xpg_use_localhyphenmins:nn` initiates the local `hyphenmins` settings, which we do not need for setting up hyphenation exceptions.