Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi,

I have attached new patches for the Hyphen library and Hungarian
hyphenation patterns, and the old one for English dictionaries and the
test file from my previous letter.

I have found and fixed a new hyphenation problem at the hyphen
character. OpenOffice.org/LibreOffice can hyphenate the words with
hyphens and en-dashes without explicite hyphenation patterns. From
OpenOffice.org 3.3, the hyphenator gets the hyphens, too (related to a
spell check fix). This is useful to set bigger hyphenation distances
from the hyphens, but the implicite hyphenation of hyphens and the
hyphenation by Hyphen library have a conflict, and often LibreOffice
missed the hyphenation at hyphens, depending from the position of the
compound word in the line. The new Hyphen uses the following implicite
hyphenation settings to fix this problem for all languages:

1-1/=,1,1
NEXTLEVEL

So the hyphenation is enabled at hyphens by also the Hyphen library,
removing the original hyphen (using only the automatic hyphen added by
LibreOffice). Unfortunatelly, this method is not suitable for
en-dashes (eg. in Hungarian texts), but at least, with the new Hyphen
LibreOffice doesn't hyphenate the en-dash with a plus hyphen (–-).

PS.: The new Hyphen 2.8.3:
https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/

Regards,
Laci

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.