[Trennmuster] Hyphenation pattern for compounds with joining hyphen

Keno Wehr wehr at abgol.de
Fr Jul 15 18:49:48 CEST 2022


Am 15.07.22 um 16:21 schrieb Pander:
> Hi all,
>
> What would be the hyphenation pattern for trennmuster for compounds 
> with a joining hyphenhttps://en.wikipedia.org/wiki/Hyphen#Joining
>
> Examples are Calmette-Guérin
> https://github.com/toddy15/medicalterms/blob/main/dicts/namen-x-de_all-medicalterms.txt#L26 
>
> and Alanin-Aminotransferase
> https://github.com/toddy15/medicalterms/blob/main/dicts/medizin-xx-de_all-medicalterms.txt#L322 
>
>
>
> Is there a way to escape such hyphen or is there another way to 
> distinguish such a hyphen from a hyphenation point?

Please describe more precisely what you want to do, I'm not quite sure 
what you mean.

Note that it's TeX's default for words with explicit hyphens to allow 
line breaks only after the explicit hyphens. Normally, no hyphenation 
patterns will apply to these words.
If you use the Babel shorthand "= instead of the explicit hyphen, the 
regular patterns will apply to the word parts before and after. This is 
usually fine, but our patterns are intended for "regular" German, 
technical terminology is covered only partly. The terms you state above 
are very special (the first one is French rather than German) and may 
lead to wrong hyphenation points with our patterns.

All the best,
Keno



Mehr Informationen über die Mailingliste Trennmuster