Apache OpenOffice (AOO) Bugzilla – Issue 71679
Bad hyphenation of Polish words with hyphens and n-dashes
Last modified: 2013-08-07 14:44:35 UTC
Words with hyphens are hyphenated with double hyphens in Polish, according to the Polish orthography (for instance, hyphenation of "kong-fu" -> kong- -fu). When I tried to set this hyphenation, there was a competition between the base hyphenation of hyphens (it's independent from the hyphenation settings and the hyphenator!) and the non-standard hyphenation by OOo's hyphenator. The result was an occasional non-standard hyphenation (sometimes kong- fu, sometimes kong- -fu, see screenshot). It would be fine to forbid the base hyphenation at hyphens optionally, and to use only hyphenation patterns.
Created attachment 40666 [details] Mixed (correct and incorrect) hyphenation of kong-fu
.
Created attachment 40667 [details] Test data (polish.odt, dictionary.lst, polish.dic)
I don't understand : in OOo 2.3.1 and 2.4 (OOH680_m6) your document is in Hungarian not in Polish. To verify : Select All > Format > Character On the other hand, after having changed the language to polish, when I launch hyphenation, hyphenator (OOH680_m6) suggests only "se=kun=do-wy" in the last paragraph. Is it correct ?
I have loaded the "polish" hyphenation patterns to the Hungarian language (see the "HYPH hu HU polish" line in the attached dictionary.lst), because I didn't want to modify the original (with not repeating hyphens) Polish hyphenation in my test. By the way, according to Marcin Miłkowski, repeating hyphens is not mandatory in Polish word processing. I have found this tipographical issue in the Polish TeX hyphenation patterns.
SBA->TL: Please have a llok, thx.
Yes, this is not a mandatory rule but a preferred way of typesetting Polish texts. So this is not exactly a defect rather than a nice enhancement. I'm changing the issue type accordingly.
*** Issue 106023 has been marked as a duplicate of this issue. ***