summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-19 23:53:14 +0000
committerKarl Berry <karl@freefriends.org>2009-05-19 23:53:14 +0000
commit6ddf7db0391b806be8c424b763c6b6aaec447f28 (patch)
tree1a1b8bb015ea128c3a4a20e4b8b85652b1fab936 /Master/texmf-dist/tex/generic/hyph-utf8/loadhyph
parent95eb2594834e771c976f5fb91449b3fb6771d696 (diff)
hyph-utf8 update (19may09)
git-svn-id: svn://tug.org/texlive/trunk@13270 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-lv.tex27
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sa.tex3
2 files changed, 29 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lv.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lv.tex
new file mode 100644
index 00000000000..c38660f4449
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-lv.tex
@@ -0,0 +1,27 @@
+% loadhyph-lv.tex
+%
+% Autogenerated loader for hyphenation patterns for "latvian"
+% 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 Latvian Hyphenation Patterns}
+\else
+ \message{L7X Latvian Hyphenation Patterns}
+ \input conv-utf8-l7x.tex
+\fi
+\input hyph-lv.tex
+\endgroup
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sa.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sa.tex
index 0aa1b9ae43a..ad2d651a724 100644
--- a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sa.tex
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-sa.tex
@@ -24,6 +24,7 @@
\lccode"200D="200D
\input hyph-sa.tex
\else
- \message{No Sanskrit Hyphenation Patterns (v0.2, 2008/1/3)}
+ \message{No Sanskrit Hyphenation Patterns (v0.2, 2008/1/3) - only available with Unicode engines}
+ \input zerohyph.tex
\fi
\endgroup