summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/hyphen.lan
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-09 22:28:57 +0000
committerKarl Berry <karl@freefriends.org>2016-01-09 22:28:57 +0000
commit49f342e07099ccf4336fb7be401f453065977aca (patch)
tree05cff3b085885044df0403464027367553ac3b63 /Master/texmf-dist/tex/csplain/base/hyphen.lan
parent6be551d802ac4c5c65ad599e0f569a69873c5bf6 (diff)
csplain (9jan16)
git-svn-id: svn://tug.org/texlive/trunk@39330 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/hyphen.lan')
-rw-r--r--Master/texmf-dist/tex/csplain/base/hyphen.lan12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/hyphen.lan b/Master/texmf-dist/tex/csplain/base/hyphen.lan
index 1eb5b715e93..af264ab2a2e 100644
--- a/Master/texmf-dist/tex/csplain/base/hyphen.lan
+++ b/Master/texmf-dist/tex/csplain/base/hyphen.lan
@@ -11,7 +11,7 @@
\message{Loading #4 encoding, \string#1=#2 (#3).} #5
\endgroup
\expandafter \def \csname lan:#2\endcsname {#3}
- \expandafter \def \csname #3lang\endcsname {%
+ \expandafter \def \csname #3lang\endcsname {\langpatterntest#9%
\language=#9\relax \initlanguage{#3}\frenchspacing
\lefthyphenmin=#6\righthyphenmin=#7%
\message{#3 hyphenation used (\string\language=\the\language).
@@ -22,6 +22,12 @@
\advance\numpatterns by1
\fi
}
+\def\langpatterntest#1{\ifx\undefined#1\langpatterntestA#1\fi}
+\def\langpatterntestA#1{%
+ \errmessage{Pattern \noexpand#1 ins't supported in ISO-8859-2.
+ Use \noexpand\input \ifx\unicodelangs\empty t1code\else ucode\fi\space first}%
+ \chardef#1=0
+}
\def\pattlist{} \def\initlanguage#1{}
\newcount\numpatterns
@@ -433,8 +439,8 @@
{\lccode"200C="200C \lccode"200D="200D
\robustpatterns \input hyph-kn }11 \unicodelangs \knPatt
-\loadpatterns \loUnicode 214 lo {Lao \patt in Unicode}
- {\robustpatterns \input hyph-lo }11 \unicodelangs \loPatt
+%\loadpatterns \loUnicode 214 lo {Lao \patt in Unicode}
+% {\robustpatterns \input hyph-lo }11 \unicodelangs \loPatt
\loadpatterns \lvUnicode 215 lv {Latvian \patt in Unicode}
{\robustpatterns \input hyph-lv }22 \unicodelangs \lvPatt