summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-03-28 00:10:19 +0000
committerNorbert Preining <preining@logic.at>2010-03-28 00:10:19 +0000
commit811acfb0da04fa1b5c9d600f949364bba6b89afb (patch)
treeebf5199441da41a8674f4b7b1046feb3cc8279b7 /Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex
parent266576ec33839420ae8e2efed319ada6cea885ba (diff)
hyph-utf8 update (2010-03-21)
git-svn-id: svn://tug.org/texlive/trunk@17577 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex')
-rw-r--r--Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex
new file mode 100644
index 00000000000..8ec1961988b
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/hyph-utf8/loadhyph/loadhyph-mr.tex
@@ -0,0 +1,30 @@
+% loadhyph-mr.tex
+%
+% Autogenerated loader for hyphenation patterns for "marathi"
+% 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 Marathi Hyphenation Patterns}
+ % Set \lccode for ZWNJ and ZWJ.
+ \lccode"200C="200C
+ \lccode"200D="200D
+ \input hyph-mr.tex
+\else
+ \message{No Marathi Hyphenation Patterns - only available with Unicode engines}
+ \input zerohyph.tex
+\fi
+\endgroup