From a0177a82f6f253f4471a7e5de4d727b8adb7409a Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Wed, 6 Oct 2010 22:27:30 +0200 Subject: Updated Croatian hyphenation patterns Original licence from the TeX archives has been included. Patterns were regenerated for LibreOffice as per the guide: http://wiki.services.openoffice.org/wiki/Documentation/SL/Using_TeX_hyphenation_patterns_in_OpenOffice.org --- dictionaries/hr_HR/README_hyph_hr_HR.txt | 87 ++++++++++- dictionaries/hr_HR/description.xml | 3 +- dictionaries/hr_HR/hyph_hr_HR.dic | 246 +++++++++++++++++++++++-------- 3 files changed, 264 insertions(+), 72 deletions(-) diff --git a/dictionaries/hr_HR/README_hyph_hr_HR.txt b/dictionaries/hr_HR/README_hyph_hr_HR.txt index be3933b..278ce6d 100644 --- a/dictionaries/hr_HR/README_hyph_hr_HR.txt +++ b/dictionaries/hr_HR/README_hyph_hr_HR.txt @@ -1,11 +1,82 @@ -Hyphenation dictionary ----------------------- - -Language: Croatian (hr HR). -Origin: Based on the TeX hyphenation tables -License: LGPL/SISSL license, 2003 -Author: delacko@linux.hr (Denis Lackovic) +Croatian hyphenation patterns +----------------------------- HYPH hr HR hyph_hr -These patterns were manualy converted from TeX hyphenation patterns. +These patterns were manually converted from TeX hyphenation patterns using the guide at +http://wiki.services.openoffice.org/wiki/Documentation/SL/Using_TeX_hyphenation_patterns_in_OpenOffice.org + +Original version: +http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/txt/hyph-hr.pat.txt?revision=416 + +License: OpenOffice.org adaption of this file is licensed under the GNU LGPL license. + +Original licence text: +% This file is part of hyph-utf8 package and resulted from +% semi-manual conversions of hyphenation patterns into UTF-8 in June 2008. +% +% Source: hrhyph.tex (1996-04-10) +% Author: Marinović Igor +% +% The above mentioned file should become obsolete, +% and the author of the original file should preferaby modify this file instead. +% +% Modificatios were needed in order to support native UTF-8 engines, +% but functionality (hopefully) didn't change in any way, at least not intentionally. +% This file is no longer stand-alone; at least for 8-bit engines +% you probably want to use loadhyph-foo.tex (which will load this file) instead. +% +% Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer +% with help & support from: +% - Karl Berry, who gave us free hands and all resources +% - Taco Hoekwater, with useful macros +% - Hans Hagen, who did the unicodifisation of patterns already long before +% and helped with testing, suggestions and bug reports +% - Norbert Preining, who tested & integrated patterns into TeX Live +% +% However, the "copyright/copyleft" owner of patterns remains the original author. +% +% The copyright statement of this file is thus: +% +% Do with this file whatever needs to be done in future for the sake of +% "a better world" as long as you respect the copyright of original file. +% If you're the original author of patterns or taking over a new revolution, +% plese remove all of the TUG comments & credits that we added here - +% you are the Queen / the King, we are only the servants. +% +% If you want to change this file, rather than uploading directly to CTAN, +% we would be grateful if you could send it to us (http://tug.org/tex-hyphen) +% or ask for credentials for SVN repository and commit it yourself; +% we will then upload the whole "package" to CTAN. +% +% Before a new "pattern-revolution" starts, +% please try to follow some guidelines if possible: +% +% - \lccode is *forbidden*, and I really mean it +% - all the patterns should be in UTF-8 +% - the only "allowed" TeX commands in this file are: \patterns, \hyphenation, +% and if you really cannot do without, also \input and \message +% - in particular, please no \catcode or \lccode changes, +% they belong to loadhyph-foo.tex, +% and no \lefthyphenmin and \righthyphenmin, +% they have no influence here and belong elsewhere +% - \begingroup and/or \endinput is not needed +% - feel free to do whatever you want inside comments +% +% We know that TeX is extremely powerful, but give a stupid parser +% at least a chance to read your patterns. +% +% For more unformation see +% +% http://tug.org/tex-hyphen +% +%------------------------------------------------------------------------------ +% +% Hyphenation patterns for Croatian language +% +% The first version was realised in late 1994. +% Second, much more improved version was realised in the beginning of 1996. +% Date of the last change: 19.03.1996. +% +% Marinović Igor +% migor@student.math.hr diff --git a/dictionaries/hr_HR/description.xml b/dictionaries/hr_HR/description.xml index b449b9e..4598ed4 100644 --- a/dictionaries/hr_HR/description.xml +++ b/dictionaries/hr_HR/description.xml @@ -1,9 +1,10 @@ - + Croatian spelling dictionary and hyphenation patterns + Rječnik hrvatskog pravopisa i uzorci prijeloma riječi diff --git a/dictionaries/hr_HR/hyph_hr_HR.dic b/dictionaries/hr_HR/hyph_hr_HR.dic index 75c9a74..04880ea 100644 --- a/dictionaries/hr_HR/hyph_hr_HR.dic +++ b/dictionaries/hr_HR/hyph_hr_HR.dic @@ -1,4 +1,8 @@ ISO8859-2 +LEFTHYPHENMIN 2 +RIGHTHYPHENMIN 2 +1'. +NEXTLEVEL a1a2 a1e2 a1i2 @@ -50,6 +54,7 @@ a1di a1do a1du a1da +ad2 a1de a1di a1do @@ -175,6 +180,7 @@ e1di e1do e1du e1da +ed2 e1de e1di e1do @@ -300,6 +306,7 @@ i1di i1do i1du i1da +id2 i1de i1di i1do @@ -425,6 +432,7 @@ o1di o1do o1du o1da +od2 o1de o1di o1do @@ -550,6 +558,7 @@ u1di u1do u1du u1da +ud2 u1de u1di u1do @@ -654,7 +663,7 @@ b1c b1 b1 b1d -b1d +b1d2 b1 b1f b1g @@ -683,7 +692,7 @@ c1c c1 c1 c1d -c1d +c1d2 c1 c1f c1g @@ -712,7 +721,7 @@ c1 1 1 1d -1d +1d2 1 1f 1g @@ -741,7 +750,7 @@ c1 1 1 1d -1d +1d2 1 1f 1g @@ -792,40 +801,40 @@ d1t 2dv. d1z d1b -d1c -d1 -d1 -d1d -d1d -d1 -d1f -d1g -d1h -1dj +d11c +d11 +d11 +d11d +d21d2 +d11 +d11f +d11g +d11h +1d1j 2dj. -d1k -1dl -2dl. +d11k +1d1l +2d2l. 2d1lj -d1m +d11m d1n -d1nj -d1p -1dr -2dr. -d1s -d1 -d1t -1dv -2dv. -d1z -d1 +d21nj +d11p +1d1r +2d2r. +d11s +d11 +d11t +1d1v +2d2v. +d11z +d11 1b 1c 1 1 1d -1d +1d2 1 1f 1g @@ -854,7 +863,7 @@ f1c f1 f1 f1d -f1d +f1d2 f1 f1f f1g @@ -883,7 +892,7 @@ g1c g1 g1 g1d -g1d +g1d2 g1 g1f g1g @@ -912,7 +921,7 @@ h1c h1 h1 h1d -h1d +h1d2 h1 h1f h1g @@ -941,7 +950,7 @@ j1c j1 j1 j1d -j1d +j1d2 j1 j1f j1g @@ -966,7 +975,7 @@ k1c k1 k1 k1d -k1d +k1d2 k1 k1f k1g @@ -994,7 +1003,7 @@ l1c l1 l1 l1d -l1d +l1d2 l1 l1f l1g @@ -1018,25 +1027,25 @@ lj1c lj1 lj1 lj1d -lj1d +lj1d2 lj1 lj1f lj1g lj1h lj1k -1ljl +1lj1l 2ljl. -lj1lj +l2j1lj lj1m lj1n lj1nj lj1p -1ljr +1lj1r 2ljr. lj1s lj1 lj1t -1ljv +1lj1v 2ljv. lj1z lj1 @@ -1045,7 +1054,7 @@ m1c m1 m1 m1d -m1d +m1d2 m1 m1f m1g @@ -1074,7 +1083,7 @@ n1c n1 n1 n1d -n1d +n1d2 n1 n1f n1g @@ -1101,27 +1110,27 @@ nj1c nj1 nj1 nj1d -nj1d +nj1d2 nj1 nj1f nj1g nj1h -1njj +1nj1j 2njj. nj1k -1njl +1nj1l 2njl. -2nj1lj +2n2j1lj nj1m nj1n nj1nj nj1p -1njr +1nj1r 2njr. nj1s nj1 nj1t -1njv +1nj1v 2njv. nj1z nj1 @@ -1130,7 +1139,7 @@ p1c p1 p1 p1d -p1d +p1d2 p1 p1f p1g @@ -1159,7 +1168,7 @@ r1c r1 r1 r1d -r1d +r1d2 r1 r1f r1g @@ -1188,7 +1197,7 @@ s1c 2s. 1sd 2sd. -1sd +1sd2 2sd. 1s 2s. @@ -1210,7 +1219,7 @@ s1l s1n 2sn. 1snj -2snj. +2s2nj. s1p 1sr 2sr. @@ -1233,7 +1242,7 @@ s1t 1 1d 2d. -1d +1d2 2d. 1 2. @@ -1274,7 +1283,7 @@ t1c t1 t1 t1d -t1d +t1d2 t1 t1f t1g @@ -1303,7 +1312,7 @@ v1c v1 v1 v1d -v1d +v1d2 v1 v1f v1g @@ -1333,7 +1342,7 @@ z1b 1z 2z. z1d -1zd +1zd2 2zd. 1z 2z. @@ -1351,7 +1360,7 @@ z1l z1m z1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