Apache OpenOffice (AOO) Bugzilla – Issue 23015
hyphenation at apostrophe
Last modified: 2017-05-20 11:30:07 UTC
Using en-US and es-ES as languages O'Reilly and industry's are wrong hyphenated as O'-Reilly and industry'-s. I guess that hypenation rules should forbid that in any language. Thanks, Pablo
Hi, I just tried both of these again and I can not recreate the problem. Here is what the lingucomponent hyphenation routine spits back at the hyphenation point for these words: kbhend@base1 altlinuxhyph]$ ./example hyph_en_US.dic checkme.lst in-dus-try's O'Reil-ly So you should not be seeing any hyphens at the points you describe. So some questions ... - are you using the fancy typographic apostrophe/single quote versus a simple text single quote? - if so, if you change them to simple single quotes does the problem go away? Please let me know what you find. Also please attach a sample document to this isse that illustrates these problems. (see the "create an new attachment" right after Attachments on this page. Thanks, Kevin
Sorry, I've just realized that the hyphenation is wrong when using es_ES and not with en_US. There must be something wrong with the Spanish hyphenation. Pablo
Trying with m122 and the Spanish dictionary I can reproduce the problem with O'Reilly but not with industry's.
Unfortunately, several TeX hyphenation dictionaries don't handle apostrophe.Now French and English hyphenation patterns were extended with correct hyphenation of words with apostrophe. See Issue 72996 and Issue 97403.
Reset assigne to the default "issues@openoffice.apache.org".