summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-10 00:27:31 +0000
committerKarl Berry <karl@freefriends.org>2008-03-10 00:27:31 +0000
commit614bb5959706e51f05a0401e6c18627ba87134f0 (patch)
tree5fb0c6d27dda2c8da6434a2ac3ce3a2b5ec69acc /Master/texmf-dist/tex/generic
parent11ac15c4cffc0e2fc7483cbfb12df95486027c39 (diff)
xecyr 1.0 (8mar08)
git-svn-id: svn://tug.org/texlive/trunk@6925 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/xecyr/xu-ruenhyph.tex59
1 files changed, 59 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/xecyr/xu-ruenhyph.tex b/Master/texmf-dist/tex/generic/xecyr/xu-ruenhyph.tex
new file mode 100644
index 00000000000..363814c6867
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/xecyr/xu-ruenhyph.tex
@@ -0,0 +1,59 @@
+% xu-ruenhyph.tex
+% Wrapper for XeTeX to read combined Russian/English hyphenation patterns
+% Alexey Shipunov, 2008/02/16-08-19
+% Public domain
+
+\begingroup
+
+% Please uncomment the pattern value you need before creating a new
+% format file containing Russian hyphenation patterns:
+
+\ifx\Pattern\undefined
+\def\Pattern{al}
+%\def\Pattern{as}
+%\def\Pattern{ct}
+%\def\Pattern{dv}
+%\def\Pattern{mg}
+%\def\Pattern{vl}
+%\def\Pattern{zn}
+\fi
+
+% For non-XeTeX use, also check the encoding options in ruhyphen.tex
+
+\expandafter\ifx\csname XeTeXrevision\endcsname\relax
+
+ \input hyphen
+ \input enrhm2
+ \input ruhyphen
+
+\else
+
+ \let\PATTERNS=\patterns
+ \def\patterns{%
+ \XeTeXinputencoding "KOI8-R"
+ \PATTERNS
+ }
+
+ \input hyphen
+ \input enrhm2
+ \input ruhyph\Pattern
+ \input cyryo\Pattern
+
+ % additional patterns from ruhyphen.tex, converted to Unicode
+ \PATTERNS{.^^^^043d^^^^04358 8^^^^043d^^^^0435.}
+ \PATTERNS{8^^^^0431^^^^044a. 8^^^^0432^^^^044a. 8^^^^0433^^^^044a.
+ 8^^^^0434^^^^044a. 8^^^^0436^^^^044a. 8^^^^0437^^^^044a.
+ 8^^^^043a^^^^044a. 8^^^^043b^^^^044a. 8^^^^043c^^^^044a.
+ 8^^^^043d^^^^044a. 8^^^^043f^^^^044a. 8^^^^0440^^^^044a.
+ 8^^^^0441^^^^044a. 8^^^^0442^^^^044a. 8^^^^0444^^^^044a.
+ 8^^^^0445^^^^044a. 8^^^^0446^^^^044a. 8^^^^0447^^^^044a.
+ 8^^^^0448^^^^044a. 8^^^^0449^^^^044a.}
+
+\fi
+
+\endgroup
+
+\lefthyphenmin2 % settings copied from ruhyphen.tex
+\righthyphenmin2
+
+\endinput