summaryrefslogtreecommitdiff
path: root/language/greek/hyphenation
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/greek/hyphenation
Initial commit
Diffstat (limited to 'language/greek/hyphenation')
-rw-r--r--language/greek/hyphenation/grhyph.tex82
1 files changed, 82 insertions, 0 deletions
diff --git a/language/greek/hyphenation/grhyph.tex b/language/greek/hyphenation/grhyph.tex
new file mode 100644
index 0000000000..2b1c0b9029
--- /dev/null
+++ b/language/greek/hyphenation/grhyph.tex
@@ -0,0 +1,82 @@
+% Hyphenation patterns for the Greek language
+% (c), 1997 Claudio Beccari (beccari@polito.it)
+\message{Greek language hyphenation patterns}
+\begingroup
+\catcode`~=12
+\lccode`<=`< \lccode`>=`> \lccode``=``
+\lccode `'=`' \lccode`~=`~ \lccode`"=`"
+\lccode `|=`|
+\lccode`v=`v % void letter used as compound word mark
+\lccode`\^^fb="FB \lccode`\^^fc="FC % rho with rough and smooth
+\patterns{%
+''2 % good when the apostrophe ('') marks an initial elision
+2b'' 2g'' 2d'' 2z'' 2j'' 2k'' 2l''
+2m'' 2n'' 2x'' 2p'' 2r'' 2s'' 2t'' 2f''
+2q'' 2y'' % regular end-of-word elision
+1b 2bb b2g b2d 2bz 2bj 2bk b2l 2bm 2bn
+2bx 2bp b2r 2bs 2bt 2bf 2bq 2by 2bv2 .b2 2b.
+1g 2gb 2gg g2d 2gz 2gj 2gk g2l 2gm g2n 2gx
+2gp g2r 2gs 2gt 2gf 2gq 2gy 2gv2 .g2 2g.
+1d 2db 2dg 2dd 2dz 2dj 2dk 2dl 2dm 2dn 2dx
+2dp d2r 2ds 2dt 2df 2dq 2dy 2dv2 .d2 2d.
+1z 2zb 2zg 2zd 2zz 2zj 2zk 2zl 2zm 2zn 2zx
+2zp 2zr 2zs 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yb 2yg 2yd 2yz 2yj 2yk 2yl 2ym 2yn 2yx
+2yp 2yr 2ys 2yt 2yf 2yq 2yy 2yv2 .y2 2y.
+1v vb2 vg2 vd2 vz2 vj2 vk2 vl2 vm2 vn2 vx2
+ vp2 vr2 vs2 vt2 vf2 vq2 vy2
+%
+% Initials with spirits
+.<a2 .>a2 .<a|2 .>a|2 .<'a2 .>'a2 .<'a|2
+.>'a|2 .<~a2 .>~a2 .<~a|2 .>~a|2
+.<e2 .>e2 .<'e2 .>'e2
+.<h2 .>h2 .<h|2 .>h|2 .<'h2 .>'h2 .<'h|2
+.>'h|2 .<~h2 .>~h2 .<~h|2 .>~h|2
+.<i2 .>i2 .<'i2 .>'i2
+.<o2 .>o2 .<'o2 .>'o2
+.<u2 .>u2 .<'u2 .>'u2
+.<w2 .>w2 .<w|2 .>w|2 .<'w2 .>'w2 .<'w|2
+.>'w|2 .<~w2 .>~w2 .<~w|2 .>~w|2
+%
+% Initials with monotoniko (assumed to be ')
+.'a2 .'e2 .'h2 .'i2 .'o2 .'u2 .'w2
+% Initials without pneuma (modern greek)
+.a2 .e2 .h2 .i2 .o2 .u2 .w2
+%
+% Hiathi in the middle of a word
+'a1i a1" 'a1u ~a1i ~a1u
+'e1i e1" 'e1u
+'h1u h1" ~h1u
+'i1a ~i1a 'i1e ~i1e 'i1o ~i1o 'i1w ~i1w
+'o1i o1" 'o1u
+u1"
+%
+% rho (simple an double) with smooth and/or rough
+<2r >2r r1< ^^fc1^^fb
+}
+\endgroup
+\endinput