Issue 71679

Summary: Bad hyphenation of Polish words with hyphens and n-dashes
Product: Writer Reporter: nemeth.lacko
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, jbf.faure, milek_pl
Version: OOo 2.0.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Mixed (correct and incorrect) hyphenation of kong-fu
none
Test data (polish.odt, dictionary.lst, polish.dic) none

Description nemeth.lacko 2006-11-18 00:36:24 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.
Comment 1 nemeth.lacko 2006-11-18 01:05:24 UTC
Created attachment 40666 [details]
Mixed (correct and incorrect) hyphenation of kong-fu
Comment 2 nemeth.lacko 2006-11-18 01:05:47 UTC
.
Comment 3 nemeth.lacko 2006-11-18 01:09:21 UTC
Created attachment 40667 [details]
Test data (polish.odt, dictionary.lst, polish.dic)
Comment 4 jbf.faure 2008-02-10 20:57:58 UTC
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 ?
Comment 5 nemeth.lacko 2008-02-11 09:37:48 UTC
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.
Comment 6 stefan.baltzer 2008-02-11 11:41:29 UTC
SBA->TL: Please have a llok, thx.
Comment 7 milek_pl 2008-02-11 15:38:18 UTC
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.
Comment 8 michael.ruess 2009-10-19 12:46:26 UTC
*** Issue 106023 has been marked as a duplicate of this issue. ***