summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-26 12:15:31 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2010-05-26 12:15:31 +0000
commita1be93d4dde1410160cb0a5183882f6b48a7f968 (patch)
tree0be514ad6d510f726c2e003483cf45d6391b4330
parentb16b3f7569e1414efb7571c2c09ee7faaa04a25e (diff)
completion of ptexgeneric.
git-svn-id: svn://tug.org/texlive/trunk@18509 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/tex/ptexgeneric/ukrhyph/catlcy-ptex.tex42
-rw-r--r--Master/texmf-dist/tex/ptexgeneric/ukrhyph/lcy2-ptext2a.tex38
-rw-r--r--Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyp-ptexmp.tex (renamed from Master/texmf-dist/tex/ptexgeneric/hyphen/ukrhypmp-ptex.tex)0
-rw-r--r--Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyph-ptex.tex59
4 files changed, 139 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/ptexgeneric/ukrhyph/catlcy-ptex.tex b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/catlcy-ptex.tex
new file mode 100644
index 00000000000..63a207a633e
--- /dev/null
+++ b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/catlcy-ptex.tex
@@ -0,0 +1,42 @@
+% set catcodes for the lowercase Ukrainian and Russian letters in lcy encoding
+\catcode 160=12 % \cyra
+\catcode 161=12 % \cyrb
+\catcode 162=12 % \cyrv
+\catcode 163=12 % \cyrg
+\catcode 164=12 % \cyrd
+\catcode 165=12 % \cyre
+\catcode 241=12 % \cyryo
+\catcode 166=12 % \cyrzh
+\catcode 167=12 % \cyrz
+\catcode 168=12 % \cyri
+\catcode 169=12 % \cyrishrt
+\catcode 170=12 % \cyrk
+\catcode 171=12 % \cyrl
+\catcode 172=12 % \cyrm
+\catcode 173=12 % \cyrn
+\catcode 174=12 % \cyro
+\catcode 175=12 % \cyrp
+\catcode 224=12 % \cyrr
+\catcode 225=12 % \cyrs
+\catcode 226=12 % \cyrt
+\catcode 227=12 % \cyru
+\catcode 228=12 % \cyrf
+\catcode 229=12 % \cyrh
+\catcode 230=12 % \cyrc
+\catcode 231=12 % \cyrch
+\catcode 232=12 % \cyrsh
+\catcode 233=12 % \cyrshch
+\catcode 234=12 % \cyrhrdsn
+\catcode 235=12 % \cyrery
+\catcode 236=12 % \cyrsftsn
+\catcode 237=12 % \cyrerev
+\catcode 238=12 % \cyryu
+\catcode 239=12 % \cyrya
+\catcode 243=12 % \cyrgup
+\catcode 245=12 % \cyrie
+\catcode 247=12 % \cyrii
+\catcode 249=12 % \cyryi
+\catcode`'=11\lccode`'=`'
+
+
+ \ No newline at end of file
diff --git a/Master/texmf-dist/tex/ptexgeneric/ukrhyph/lcy2-ptext2a.tex b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/lcy2-ptext2a.tex
new file mode 100644
index 00000000000..ffc497cfa81
--- /dev/null
+++ b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/lcy2-ptext2a.tex
@@ -0,0 +1,38 @@
+% LCY to T2A translation for Ukrainian hyphenation patterns
+\lccode 160=224 % \cyra
+\lccode 161=225 % \cyrb
+\lccode 162=226 % \cyrv
+\lccode 163=227 % \cyrg
+\lccode 164=228 % \cyrd
+\lccode 165=229 % \cyre
+\lccode 241=188 % \cyryo
+\lccode 166=230 % \cyrzh
+\lccode 167=231 % \cyrz
+\lccode 168=232 % \cyri
+\lccode 169=233 % \cyrishrt
+\lccode 170=234 % \cyrk
+\lccode 171=235 % \cyrl
+\lccode 172=236 % \cyrm
+\lccode 173=237 % \cyrn
+\lccode 174=238 % \cyro
+\lccode 175=239 % \cyrp
+\lccode 224=240 % \cyrr
+\lccode 225=241 % \cyrs
+\lccode 226=242 % \cyrt
+\lccode 227=243 % \cyru
+\lccode 228=244 % \cyrf
+\lccode 229=245 % \cyrh
+\lccode 230=246 % \cyrc
+\lccode 231=247 % \cyrch
+\lccode 232=248 % \cyrsh
+\lccode 233=249 % \cyrshch
+\lccode 234=250 % \cyrhrdsn
+\lccode 235=251 % \cyrery
+\lccode 236=252 % \cyrsftsn
+\lccode 237=253 % \cyrerev
+\lccode 238=254 % \cyryu
+\lccode 239=255 % \cyrya
+\lccode 243=160 % \cyrgup
+\lccode 245=185 % \cyrie
+\lccode 247=105 % \cyrii
+\lccode 249=168 % \cyryi
diff --git a/Master/texmf-dist/tex/ptexgeneric/hyphen/ukrhypmp-ptex.tex b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyp-ptexmp.tex
index f817de27c04..f817de27c04 100644
--- a/Master/texmf-dist/tex/ptexgeneric/hyphen/ukrhypmp-ptex.tex
+++ b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyp-ptexmp.tex
diff --git a/Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyph-ptex.tex b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyph-ptex.tex
new file mode 100644
index 00000000000..d68ef885d0b
--- /dev/null
+++ b/Master/texmf-dist/tex/ptexgeneric/ukrhyph/ukrhyph-ptex.tex
@@ -0,0 +1,59 @@
+% UKRHYPH package
+% Copyright 1999 Maksym Polyakov.
+% Version of 1999/07/23 (Bug fix 2001/05/10)
+% Derived from RUHYPHEN package,
+% Copyright 1998-1999 Werner Lemberg, Vladimir Volovich
+% This file can be redistributed and/or modified under the terms
+% of the LaTeX Project Public License (lppl).
+% Please, send questions, comments, bug reports via e-mail:
+% polyama@auburn.edu
+% mpoliak@i.com.ua
+
+\begingroup
+
+% If you do not use UKRHYPH.<ENC> files, uncomment, please,
+% encoding value:
+
+\ifx\Encoding\undefined
+\def\Encoding{t2a} %% T2A (X2) standard cyrillic output encoding.
+%\def\Encoding{lcy} %% LCY output encoding.
+%\def\Encoding{koi} %% Koi8-u(ru) output encoding (just in case).
+%\def\Encoding{ot2} %% OT2 (LWN) output encoding.
+%\def\Encoding{ucy} %% UCY Omega Unicode Cyrillic encoding.
+\fi
+
+% Please uncomment the pattern value you need before
+% creating a new format file containing Ukrainian hyphenation
+% patterns.
+% Note: `sm' offers most break points, so it is better
+% for narrow columns, `mp' offers least break points,
+% and `st' and `mt' are in between.
+
+\ifx\Pattern\undefined
+%\def\Pattern{sm} %% by Andrij Shvaika, modern rules
+%\def\Pattern{st} %% by Andrij Shvaika, modern rules,
+ %% ``with removed suspicious breaks''
+%\def\Pattern{mt} %% by Maksym Polyakov old rules
+\def\Pattern{mp} %% by Maksym Polyakov old rules, breaking
+ %% into syllables according to phonetical principles.
+%\def\Pattern{fa} %% derived from Russian patterns created by Dimitri Vulis
+\fi
+
+\message{Ukrainian hyphenation patterns in \Encoding\space encoding}
+
+\input catlcy-ptex
+\input lcy2-ptex\Encoding
+\input ukrhyp-ptex\Pattern
+
+\def\t{ot2}\ifx\Encoding\t
+% To avoid breaking ligatures in ot2 encoding...
+\message{^^JJust type Enter few times....}
+\patterns{ c8h d8j k8h l8j n8j s8h s8h8c8h t8s x8q y8a y8u z8h }
+\fi
+\def\t{t2a}\ifx\t\Encoding\input hypht2 \fi
+\let\t\relax
+
+\endgroup
+
+\lefthyphenmin2
+\righthyphenmin2