summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/enctex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/enctex')
-rw-r--r--Master/texmf-dist/tex/generic/enctex/utf8unkn.tex4
-rw-r--r--Master/texmf-dist/tex/generic/enctex/utf8warn.tex8
2 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/enctex/utf8unkn.tex b/Master/texmf-dist/tex/generic/enctex/utf8unkn.tex
index 88a9027906c..3d9dd2ed0a1 100644
--- a/Master/texmf-dist/tex/generic/enctex/utf8unkn.tex
+++ b/Master/texmf-dist/tex/generic/enctex/utf8unkn.tex
@@ -47,10 +47,10 @@
\expandafter\noconvert\noexpand#2%
\expandafter\noconvert\noexpand#3}%
\fi\fi\fi}
-\def\badutfinput{%
+\def\badutfinput{{\errorcontextlines=-1
\errhelp={Try to set mubytein=0 or input utf8off or input mixcodes.}
\errmessage{UTF-8 INPUT IS CORRUPTED !
- \space May be you are using another input encoding}}
+ \space May be you are using another input encoding}}}
\def\missingutfchar#1{{\day=0
\ifnum\day=0 % this makes me more robust in message prameter
\newlinechar=`^^J \chardef\$=\xprncode255
diff --git a/Master/texmf-dist/tex/generic/enctex/utf8warn.tex b/Master/texmf-dist/tex/generic/enctex/utf8warn.tex
index 7a4680d4ea3..6b1fe9d3b36 100644
--- a/Master/texmf-dist/tex/generic/enctex/utf8warn.tex
+++ b/Master/texmf-dist/tex/generic/enctex/utf8warn.tex
@@ -1,7 +1,13 @@
% Warnings for all undeclared UTF-8 codes
% =======================================
% Petr+Mirek Olsak Sep. 2009
-%
+
+% Note: this file is an old version of utf8unkn.tex which is currently
+% used by csplain by default (since Dec. 2012). If you are using
+% csplain then you need not this file (utf8unkn.tex is preloaded already).
+% This file is saved in enctex package only for archive purposes.
+% Petr Olsak, May 2014
+
% Suppose, you are using encTeX for reading UTF-8 codes in input.
% Possibly, not all UTF-8 codes are declared by \mubyte..\endmubyte
% in your macros. You can do