diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-25 17:29:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-25 17:29:45 +0000 |
commit | ca5c8c2594b507572fc761374aead47e4090cab9 (patch) | |
tree | fc3451958eed0cc4965773a21e3c9a818d2cac74 /Master/texmf-dist/tex | |
parent | 2765ff115b54440c3ebcba051d3abfe5dc9edc0b (diff) |
more \input
git-svn-id: svn://tug.org/texlive/trunk@18484 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/ptexgeneric/ruhyphen/hypht2-ptex.tex | 10 | ||||
-rw-r--r-- | Master/texmf-dist/tex/ptexgeneric/ruhyphen/ruhyphen-ptex.tex | 11 |
2 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/ptexgeneric/ruhyphen/hypht2-ptex.tex b/Master/texmf-dist/tex/ptexgeneric/ruhyphen/hypht2-ptex.tex new file mode 100644 index 00000000000..b99c8652cf1 --- /dev/null +++ b/Master/texmf-dist/tex/ptexgeneric/ruhyphen/hypht2-ptex.tex @@ -0,0 +1,10 @@ +% additional hyphenation patterns for T2* encoded fonts +% this file MUST be executed inside a group +\lccode`-`-\lccode`Y0\countdef\i0\toksdef\L0\L{}\toksdef\S2\S{8-7 --8 } +\def\y{% + \i123\def\x{\ifnum\i>97 \advance\i -1 \a\expandafter\x\fi}\x + \i189\def\x{\ifnum\i>160 \advance\i -1 \a\expandafter\x\fi}\x + \i256\def\x{\ifnum\i>224 \advance\i -1 \a\expandafter\x\fi}\x} +\def\a{\lccode\i\i\lccode`X\i + \lowercase{\S\expandafter{\the\S .X-8 }\L\expandafter{\the\L 8X8Y- -X8Y8 }}} +\y\patterns{\the\S}\def\a{\lccode`Y\i\patterns{\the\L}}\y diff --git a/Master/texmf-dist/tex/ptexgeneric/ruhyphen/ruhyphen-ptex.tex b/Master/texmf-dist/tex/ptexgeneric/ruhyphen/ruhyphen-ptex.tex index e1c1189e65b..55ab3cce18d 100644 --- a/Master/texmf-dist/tex/ptexgeneric/ruhyphen/ruhyphen-ptex.tex +++ b/Master/texmf-dist/tex/ptexgeneric/ruhyphen/ruhyphen-ptex.tex @@ -1,3 +1,4 @@ +% modified for ptex. % ruhyphen package -- collection of Russian hyphenation patterns % Copyright 1998-2003 Werner Lemberg, Vladimir Volovich % and any individual authors listed elsewhere in package files. @@ -42,13 +43,13 @@ %\def\Pattern{zn} \fi -\input catkoi -\input koi2\Encoding -\input ruhyph\Pattern +\input catkoi-ptex +\input koi2\Encoding-ptex +\input ruhyph\Pattern-ptex % the following four lines are optional -\input cyryo\Pattern -\def\t{t2a}\ifx\t\Encoding\input hypht2 \fi +\input cyryo\Pattern-ptex +\def\t{t2a}\ifx\t\Encoding\input hypht2-ptex \fi \patterns{.^^ce^^c58 8^^ce^^c5.} \patterns{8^^c2^^df. 8^^d7^^df. 8^^c7^^df. 8^^c4^^df. 8^^d6^^df. 8^^da^^df. 8^^cb^^df. 8^^cc^^df. 8^^cd^^df. 8^^ce^^df. 8^^d0^^df. 8^^d2^^df. 8^^d3^^df. 8^^d4^^df. 8^^c6^^df. 8^^c8^^df. 8^^c3^^df. 8^^de^^df. 8^^db^^df. 8^^dd^^df.} |