summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-04 00:58:33 +0000
committerKarl Berry <karl@freefriends.org>2008-11-04 00:58:33 +0000
commitc9a89e07d6211f4e6a77b50712835da154283147 (patch)
treea86f12a9d2d52a6c0622eeb40a473304e5397f4e /Master/texmf-dist/tex/generic/hyph-utf8/loadhyph
parent5b6331143d4f40d800848c5b424f18cd7dbd867d (diff)
hyph-utf8 update, includes lithuanian (2nov08)
git-svn-id: svn://tug.org/texlive/trunk@11171 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/hyph-utf8/loadhyph')
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lt.tex27
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ru.tex1
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-uk.tex1
3 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lt.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lt.tex
new file mode 100644
index 00000000000..7c87d6f299e
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lt.tex
@@ -0,0 +1,27 @@
+% loadhyph-lt.tex
+%
+% Autogenerated loader for hyphenation patterns for "lithuanian"
+% 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 Lithuanian Hyphenation Patterns}
+\else
+ \message{L7X Lithuanian Hyphenation Patterns}
+ \input conv-utf8-l7x.tex
+\fi
+\input hyph-lt.tex
+\endgroup
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ru.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ru.tex
index 8b1a51b2ac7..a5fe1e4d1e0 100644
--- a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ru.tex
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-ru.tex
@@ -20,6 +20,7 @@
\ifx\secondarg\empty
\message{UTF-8 Russian Hyphenation Patterns}
\input hyph-ru.tex
+ % Additional patterns with hyphen/dash: a hack to prevent breaking after hyphen, but not before.
\input exhyph-ru.tex
\else
\message{Russian Hyphenation Patterns}
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-uk.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-uk.tex
index 4925655d982..e8eb8e82b11 100644
--- a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-uk.tex
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-uk.tex
@@ -21,6 +21,7 @@
\ifx\secondarg\empty
\message{UTF-8 Ukrainian Hyphenation Patterns}
\input hyph-uk.tex
+ % Additional patterns with hyphen/dash: a hack to prevent breaking after hyphen, but not before.
\input exhyph-uk.tex
\else
\message{Ukrainian Hyphenation Patterns}