[Libreoffice] [PATCH] hyphenation fixes

Németh László nemeth at numbertext.org
Mon Oct 17 06:18:49 PDT 2011


2011/10/17 Caolán McNamara <caolanm at redhat.com>:
> On Mon, 2011-10-10 at 17:05 +0200, Németh László wrote:
>> 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.
> there was no attachments to this mail, though i pushed the earlier ones.

I'm sorry, here are the missing patches. Many thanks for the integration.

>> PS.: The new Hyphen 2.8.3:
>> https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/
> I'll bump LibOs internal version to this one in a little while.
> hyphen includes a make rule to generate the en_US hyph dict from the
> original source. Is the output there still the "canonical" en_US dict or
> is that out of sync now ?

The aim is to synchronize these patterns, so the English dictionary
patch results the generated hyph_en_US.dic of the last Hyphen.

> Where/which is the right/best en_GB one ? I'm thinking here more from
> the perspective of distro maintainers that want to have the best
> distro-wide patterns installed and share them between the handful of
> different apps that re-use them.

With the new improvements of the Hyphen dictionary, there is no need
for extra hyphenation patterns and parameters to handle the
hyphenation near apostrophes and hyphens (my patches for English
hyphenation dictionaries of OpenOffice.org contained them). en_US
patterns are the TeX patterns + TugBoat fixes (see README), en_GB
patterns based on the original TeX patterns (generated from the
114k-word list of Oxford University Press)  + my (now unnecessary,
except the RIGHTHYPHENMIN 3 line) patches. (Maybe, according to
TugBoat, LEFTHYPHENMIN=3 is better for British English, but only the
RIGHTHYPHENMIN=3 was the default parameter in TeX for this hyphenation
dictionary. LEFTHYPHENMIN=3 can be set easily on the user interface.)
The new patched version of hyph_en_GB is perfect for the Hyphen, it
works with the older versions of the library, too.
Now the biggest problem is the bad American English hyphenation of LibreOffice.


> C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-fixes-of-Hyphen-2.8.3.patch
Type: text/x-patch
Size: 13904 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111017/14338568/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-hyphenation-of-words-with-hyphens-handled-by-Hyp.patch
Type: text/x-patch
Size: 6209 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111017/14338568/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-Hungarian-hyphenation-patterns-Huhyphn-v20110.patch
Type: text/x-patch
Size: 253410 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111017/14338568/attachment-0005.bin>

More information about the LibreOffice mailing list