summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-22 12:52:56 +0000
committerKarl Berry <karl@freefriends.org>2008-06-22 12:52:56 +0000
commit5ed8932132aaa734b293e7a41dd1b6f885a6f2e9 (patch)
tree915e90fe24729ecc97114902b76b4004c712b024 /Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex
parenta84aa35db647cc419c465bd3e4b9db1bc86c0c0b (diff)
hyph-utf8 from CTAN
git-svn-id: svn://tug.org/texlive/trunk@8932 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex')
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex
new file mode 100644
index 00000000000..3ac9ec93669
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sr-cyrl.tex
@@ -0,0 +1,27 @@
+% loadhyph-sr-cyrl.tex
+%
+% Autogenerated loader for hyphenation patterns for "serbianc"
+% by source/generic/hyph-utf8/generate-pattern-loaders.rb
+% See also http://tug.org/tex-hyphen
+%
+% Copyright 2008 TeX Users Group.
+% You may freely use, modify and/or distribute this file.
+% (But consider adapting the scripts if you need modifications.)
+%
+% Once it turns out that more than a simple definition is needed,
+% these lines may be moved to a separate file.
+%
+\begingroup
+% Test whether we received one or two arguments
+\def\testengine#1#2!{\def\secondarg{#2}}
+% That's Tau (as in Taco or ΤΕΧ, Tau-Epsilon-Chi), a 2-byte UTF-8 character
+\testengine Τ!\relax
+% Unicode-aware engine (such as XeTeX or LuaTeX) only sees a single (2-byte) argument
+\ifx\secondarg\empty
+ \message{UTF-8 Serbian hyphenation patterns in Cyrillic script}
+\else
+ \message{T2A Serbian hyphenation patterns in Cyrillic script}
+ \input conv-utf8-t2a.tex
+\fi
+\input hyph-sr-cyrl.tex
+\endgroup