summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/enctex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-12-21 17:23:56 +0000
committerKarl Berry <karl@freefriends.org>2012-12-21 17:23:56 +0000
commit2000e2695d5fb96d841cebbaf0270b152e6e038e (patch)
tree711bd5206351361b5c8c244238694e23ef7b1974 /Master/texmf-dist/tex/generic/enctex
parent1ecf8b73c2570794c61fc9773c79a9b8b76c4567 (diff)
manual update of enctex files in csplain.tar.gz
git-svn-id: svn://tug.org/texlive/trunk@28602 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/enctex')
-rw-r--r--Master/texmf-dist/tex/generic/enctex/mixcodes.tex103
-rw-r--r--Master/texmf-dist/tex/generic/enctex/utf8lat1.tex156
-rw-r--r--Master/texmf-dist/tex/generic/enctex/utf8lata.tex185
-rw-r--r--Master/texmf-dist/tex/generic/enctex/utf8off.tex26
4 files changed, 470 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/enctex/mixcodes.tex b/Master/texmf-dist/tex/generic/enctex/mixcodes.tex
new file mode 100644
index 00000000000..52f10f371f0
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/enctex/mixcodes.tex
@@ -0,0 +1,103 @@
+% mixcodes.tex ... allows mix od UTF-8, ISO-8859-2 and CP1250 in input files
+% --------------------------------------------------------------------------
+% Petr Olsak, Oct. 2012
+%
+% You need to use the csplain initialised by encTeX with UTF-8 input
+%
+% After \input mixcodes
+%
+% you can input the files with czech+slovak alphabet encoded
+% by UTF-8 or ISO-8859-2 or CP1250 ecodings. You can input more files with
+% various of these three encodings. The output by \write is always done by
+% UTF-8 encoding and you can read these files again.
+
+% This is a little ,,dirty trick`` using encTeX :-)
+
+% Note: there is a conflict between the slovak lcaron and the czech zcaron
+% characters. See the end of this file of more information about it.
+
+\ifx\mubyte\undefined
+ \message{WARNING: I need encTeX initialised, all settings are ignored}
+ \expandafter\endinput \fi
+
+% ISO-8859-2 on input needs one-to-one reencoding.
+% We need to re-declarare the original table defined in utf8unkn.tex.
+
+\mubyte ^^c1 ^^c1\endmubyte % \'A
+\mubyte ^^e1 ^^e1\endmubyte % \'a
+\mubyte ^^c9 ^^c9\endmubyte % \'E
+\mubyte ^^e9 ^^e9\endmubyte % \'e
+\mubyte ^^cd ^^cd\endmubyte % \'I
+\mubyte ^^ed ^^ed\endmubyte % \'i
+\mubyte ^^d3 ^^d3\endmubyte % \'O
+\mubyte ^^f3 ^^f3\endmubyte % \'o
+\mubyte ^^da ^^da\endmubyte % \'U
+\mubyte ^^fa ^^fa\endmubyte % \'u
+\mubyte ^^dd ^^dd\endmubyte % \'Y
+\mubyte ^^fd ^^fd\endmubyte % \'y
+\mubyte ^^d4 ^^d4\endmubyte % \^O
+\mubyte ^^f4 ^^f4\endmubyte % \^o
+\mubyte ^^c4 ^^c4\endmubyte % \"A
+\mubyte ^^e4 ^^e4\endmubyte % \"a
+\mubyte ^^d6 ^^d6\endmubyte % \"O
+\mubyte ^^f6 ^^f6\endmubyte % \"o
+\mubyte ^^dc ^^dc\endmubyte % \"U
+\mubyte ^^fc ^^fc\endmubyte % \"u
+\mubyte ^^c8 ^^c8\endmubyte % \v C
+\mubyte ^^e8 ^^e8\endmubyte % \v c
+\mubyte ^^cf ^^cf\endmubyte % \v D
+\mubyte ^^ef ^^ef\endmubyte % \v d
+\mubyte ^^cc ^^cc\endmubyte % \v E
+\mubyte ^^ec ^^ec\endmubyte % \v e
+\mubyte ^^c5 ^^c5\endmubyte % \' L
+\mubyte ^^e5 ^^e5\endmubyte % \' l
+\mubyte ^^a5 ^^a5\endmubyte % \v L
+\mubyte ^^b5 ^^b5\endmubyte % \v l
+\mubyte ^^d2 ^^d2\endmubyte % \v N
+\mubyte ^^f2 ^^f2\endmubyte % \v n
+\mubyte ^^d8 ^^d8\endmubyte % \v R
+\mubyte ^^f8 ^^f8\endmubyte % \v r
+\mubyte ^^a9 ^^a9\endmubyte % \v S
+\mubyte ^^b9 ^^b9\endmubyte % \v s
+\mubyte ^^ab ^^ab\endmubyte % \v T
+\mubyte ^^bb ^^bb\endmubyte % \v t
+\mubyte ^^d9 ^^d9\endmubyte % \r U
+\mubyte ^^f9 ^^f9\endmubyte % \r u
+\mubyte ^^ae ^^ae\endmubyte % \v Z
+\mubyte ^^be ^^be\endmubyte % \v z
+\mubyte ^^c0 ^^c0\endmubyte % \' R
+\mubyte ^^e0 ^^e0\endmubyte % \' r
+\mubyte ^^a7 ^^c2^^a7\endmubyte % section sign ISO input, UTF-8 output
+
+% CP1250 to ISO8859-2 re-encoding:
+
+\mubyte ^^a5 ^^bc\endmubyte % \v L, don't use zacute in ISO-8859-2 input
+\mubyte ^^a9 ^^8a\endmubyte % \v S, safe reencoding
+\mubyte ^^ab ^^8d\endmubyte % \v T, safe reencoding
+\mubyte ^^ae ^^8e\endmubyte % \v Z, safe reencoding
+\mubyte ^^b9 ^^9a\endmubyte % \v s, safe reencoding
+\mubyte ^^bb ^^9d\endmubyte % \v t, safe reencoding
+\mubyte ^^be ^^9e\endmubyte % \v z, safe reencoding
+\if\language=\slovak
+ \mubyte ^^e5 ^^be\endmubyte % see comments at the end of the file
+\fi
+
+% After setting \mubyte <code> <the-same-code>\endmubyte, the mubyte table
+% is removed. In order to work the UTF-8 input properly, we need to read
+% csenc-u.tex file again:
+
+\input csenc-u
+
+\endinput
+
+The character code ^^be is: zcaron in ISO-8859-2 (used by Czech) but
+the same code is lcaron in CP1250 (used by Slovak language).
+
+Slovak users have to write \shyph before \input mixcodes in order to the
+lcaron works in both encodings (CP1250 and ISO-8859-2). The zcaron is not
+working in ISO-8859-2 in such case. Czech users don't write \shyph before
+\input mixcodes, thus the zcaron works in both encodings but lcaron doesn't
+work in CP1250.
+
+The UTF-8 encoding is without problems in both languages, of course.
+
diff --git a/Master/texmf-dist/tex/generic/enctex/utf8lat1.tex b/Master/texmf-dist/tex/generic/enctex/utf8lat1.tex
new file mode 100644
index 00000000000..8a603f96c76
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/enctex/utf8lat1.tex
@@ -0,0 +1,156 @@
+% utf8lat1.tex: UTF-8 input declaration, Latin-1 Supplement, U+0080 -- U+00FF
+% ---------------------------------------------------------------------------
+% Petr Olsak, 2012
+
+\message{UTF-8 declaration: LATIN-1 SUPPLEMENT, U+0080--U+00FF}
+
+% You can define the \setucode texname htmlentity utf8code T1slot {TeX action}
+% by yours opinion before \input utf8lat1. If no definition is prepared by you,
+% the implicit one do following:
+% (1) Maps utf8code to \texname by encTeX's \mubytein ... \mubyteout
+% (2) if \texname is undefined do \def\texname{TeX action}
+% (3) The parameters htmlentity and T1slot are ignored
+%
+% If T1slot=* then the character is not provided by T1 encoding.
+% See the file t1code.tex for an alternative \setucode definition which uses T1slot.
+%
+% The \setcsucode is implicitly the same as \setucode, but csplain defines it as
+% ,,do nothing`` because the code is mapped by csplain as a raw character.
+%
+% Some slots are defined as \uuchar (means UndefinedUtf8char) because there
+% are not common tools for define them by plainTeX. You can redefine them, of course.
+
+
+
+\ifx\setucode\undefined
+
+\ifx\mubyte\undefined
+ \errhelp{Sorry, you can't use this file without encTeX initialised.}
+ \errmessage{The encTeX extension of TeX with \noexpand\mubyte is not found}
+ \expandafter\expandafter\expandafter \endinput
+\else
+
+% The implicit \setucode definition:
+
+\def\setucode #1 #2 #3 #4 #5{%
+ \expandafter \mubyte \csname#1\endcsname #3\endmubyte
+ \expandafter \ifx \csname#1\endcsname \relax
+ \expandafter \def\csname#1\endcsname{#5}%
+ \fi
+}
+\ifx\setcsucode\undefined \let\setcsucode=\setucode \fi
+
+\fi\fi
+
+\def\uuchar#1#2{% Undefined Utf8 character
+ \message{WARNING: undefined UTF-8 slot \string#1: #2}%
+ \leavevmode\hbox{\vrule width.5em height.5em}%
+}
+
+\let\doaccent=\char % accents are declared as \doaccent<number>, implicitly \char<number>.
+ % you can set: \let\doaccent=\accent: then accents will be placed over the next character.
+\def\intext#1{\leavevmode\hbox{$#1$}} % the math construction working in text mode.
+
+\setucode nobreakspace nbsp ^^c2^^a0 * {~}
+\setucode exclamdown iexcl ^^c2^^a1 ^^bd {`!}
+\setucode cent cent ^^c2^^a2 * {\uuchar\cent{CENT SIGN}}
+\setucode pound pound ^^c2^^a3 ^^bf {{\it\$}}
+\setucode currency curren ^^c2^^a4 * {\uuchar\currency{CURRENCY SIGN}}
+\setucode yen yen ^^c2^^a5 * {\uuchar\yen{YEN SIGN}}
+\setucode brokenbar brvbar ^^c2^^a6 * {\leavevmode\hbox
+ {\kern.1em\vbox{\hrule height .38em width.04em \kern.15em
+ \hrule height.23em depth.15em width.04em}\kern.1em}}
+\setucode S sect ^^c2^^a7 ^^9f {defined already}
+\setucode dieresis uml ^^c2^^a8 ^^04 {\doaccent127 }
+\setucode copyright copy ^^c2^^a9 * {defined already}
+\setucode feminine ordf ^^c2^^aa * {\uuchar\feminine{FEMININE ORDINAL INDICATOR}}
+\setucode flqq laquo ^^c2^^ab ^^13 {\intext{\scriptstyle\langle\!\langle}}
+\setucode notsign not ^^c2^^ac * {defined already}
+\setucode softhyphen shy ^^c2^^ad * {\uuchar\softhyphen{SOFT HYPHEN}}
+\setucode registered reg ^^c2^^ae * {\uuchar\registered{REGISTERED SIGN}}
+\setucode macron macr ^^c2^^af * {\doaccent22 }
+\setucode degree deg ^^c2^^b0 * {\intext{^\circ}}
+\setucode textpm plusmn ^^c2^^b1 * {\intext{\pm}}
+\setucode suptwo sup2 ^^c2^^b2 * {\intext{^2}}
+\setucode supthree sup3 ^^c2^^b3 * {\intext{^3}}
+\setucode acute acute ^^c2^^b4 ^^01 {\doaccent19 }
+\setucode micro micro ^^c2^^b5 * {\intext{\mu}}
+\setucode P para ^^c2^^b6 * {defined already}
+\setucode textcdot middot ^^c2^^b7 * {\intext{\cdot}}
+\setucode cedilla cedil ^^c2^^b8 ^^0b {\char24 }
+\setucode supone sup1 ^^c2^^b9 * {\intext{^1}}
+\setucode masculine ordm ^^c2^^ba * {\uuchar\masculine{MASCULINE ORDINAL INDICATOR}}
+\setucode frqq raquo ^^c2^^bb ^^14 {\intext{\scriptstyle\rangle\!\rangle}}
+\setucode onequarter frac14 ^^c2^^bc * {\intext{^1\!/\!_4}}
+\setucode onehalf frac12 ^^c2^^bd * {\intext{^1\!/\!_2}}
+\setucode threequarter frac34 ^^c2^^be * {\intext{^3\!/\!_4}}
+\setucode questiondown iquest ^^c2^^bf ^^be {`?}
+\setucode Agrave Agrave ^^c3^^80 ^^c0 {\`A}
+\setcsucode Aacute Aacute ^^c3^^81 ^^c1 {\'A}
+\setucode Acircumflex Acirc ^^c3^^82 ^^c2 {\^A}
+\setucode Atilde Atilde ^^c3^^83 ^^c3 {\~A}
+\setcsucode Adieresis Auml ^^c3^^84 ^^c4 {\"A}
+\setucode Aring Aring ^^c3^^85 ^^c5 {\r A}
+\setucode AE AElig ^^c3^^86 ^^c6 {defined already}
+\setucode Ccedilla Ccedil ^^c3^^87 ^^c7 {\c C}
+\setucode Egrave Egrave ^^c3^^88 ^^c8 {\`E}
+\setcsucode Eacute Eacute ^^c3^^89 ^^c9 {\'E}
+\setucode Ecircumflex Ecirc ^^c3^^8a ^^ca {\^E}
+\setucode Edieresis Euml ^^c3^^8b ^^cb {\"E}
+\setucode Igrave Igrave ^^c3^^8c ^^cc {\`I}
+\setcsucode Iacute Iacute ^^c3^^8d ^^cd {\'I}
+\setucode Icircumflex Icirc ^^c3^^8e ^^ce {\^I}
+\setucode Idieresis Iuml ^^c3^^8f ^^cf {\"I}
+\setucode Eth ETH ^^c3^^90 ^^d0 {\uuchar\Eth{LATIN CAPITAL LETTER ETH}}
+\setucode Ntilde Ntilde ^^c3^^91 ^^d1 {\~N}
+\setucode Ograve Ograve ^^c3^^92 ^^d2 {\`O}
+\setcsucode Oacute Oacute ^^c3^^93 ^^d3 {\'O}
+\setcsucode Ocircumflex Ocirc ^^c3^^94 ^^d4 {\^O}
+\setucode Otilde Otilde ^^c3^^95 ^^d5 {\~O}
+\setcsucode Odieresis Ouml ^^c3^^96 ^^d6 {\"O}
+\setucode texttimes times ^^c3^^97 * {\intext{\times}}
+\setucode O Oslash ^^c3^^98 ^^d8 {defined already}
+\setucode Ugrave Ugrave ^^c3^^99 ^^d9 {\`U}
+\setcsucode Uacute Uacute ^^c3^^9a ^^da {\'U}
+\setucode Ucircumflex Ucirc ^^c3^^9b ^^db {\^U}
+\setcsucode Udieresis Uuml ^^c3^^9c ^^dc {\"U}
+\setcsucode Yacute Yacute ^^c3^^9d ^^dd {\'Y}
+\setucode Thorn THRON ^^c3^^9e ^^de {\uuchar\Thron{LATIN CAPITAL LETTER THRON}}
+\setucode ss szlig ^^c3^^9f ^^fb {defined already}
+\setucode agrave agrave ^^c3^^a0 ^^e0 {\`a}
+\setcsucode aacute aacute ^^c3^^a1 ^^e1 {\'a}
+\setucode acircumflex acirc ^^c3^^a2 ^^e2 {\^a}
+\setucode atilde atilde ^^c3^^a3 ^^e3 {\~a}
+\setcsucode adieresis auml ^^c3^^a4 ^^e4 {\"a}
+\setucode aring aring ^^c3^^a5 ^^e5 {\r a}
+\setucode ae aelig ^^c3^^a6 ^^e6 {defined already}
+\setucode ccedilla ccedil ^^c3^^a7 ^^e7 {\c c}
+\setucode egrave egrave ^^c3^^a8 ^^e8 {\`e}
+\setcsucode eacute eacute ^^c3^^a9 ^^e9 {\'e}
+\setucode ecircumflex ecirc ^^c3^^aa ^^ea {\^e}
+\setucode edieresis euml ^^c3^^ab ^^eb {\"e}
+\setucode igrave igrave ^^c3^^ac ^^ec {\`i}
+\setcsucode iacute iacute ^^c3^^ad ^^ed {\'i}
+\setucode icircumflex icirc ^^c3^^ae ^^ee {\^i}
+\setucode idieresis iuml ^^c3^^af ^^ef {\"i}
+\setucode eth eth ^^c3^^b0 ^^f0 {\uuchar\eth{LATIN SMALL LETTER ETH}}
+\setucode ntilde ntilde ^^c3^^b1 ^^f1 {\~n}
+\setucode ograve ograve ^^c3^^b2 ^^f2 {\`o}
+\setcsucode oacute oacute ^^c3^^b3 ^^f3 {\'o}
+\setcsucode ocircumflex ocirc ^^c3^^b4 ^^f4 {\^o}
+\setucode otilde otilde ^^c3^^b5 ^^f5 {\~o}
+\setcsucode odieresis ouml ^^c3^^b6 ^^f6 {\"o}
+\setucode division divide ^^c3^^b7 ^^f7 {\intext{\div}}
+\setucode o oslash ^^c3^^b8 * {defined already}
+\setucode ugrave ugrave ^^c3^^b9 ^^f9 {\`u}
+\setcsucode uacute uacute ^^c3^^ba ^^fa {\'u}
+\setucode ucircumflex ucirc ^^c3^^bb ^^fb {\^u}
+\setcsucode udieresis uuml ^^c3^^bc ^^fc {\"u}
+\setcsucode yacute yacute ^^c3^^bd ^^fd {\'y}
+\setucode thron thron ^^c3^^be ^^fe {\uuchar\thron{LATIN SMALL LETTER THRON}}
+\setucode ydieresis yuml ^^c3^^bf ^^ff {\"y}
+
+\catcode`\^^A=12 % Knuth set them to 8 and 7 in plain.tex but it isn't usable because
+\catcode`\^^K=12 % acute and cedilla are mapped to these chars in T1 encoding
+
+% end of file utf8lat1.tex
diff --git a/Master/texmf-dist/tex/generic/enctex/utf8lata.tex b/Master/texmf-dist/tex/generic/enctex/utf8lata.tex
new file mode 100644
index 00000000000..bb8364379c6
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/enctex/utf8lata.tex
@@ -0,0 +1,185 @@
+% utf8lata.tex: UTF-8 input declaration, Latin Extended-A, U+0100 -- U+017F
+% -------------------------------------------------------------------------
+% Petr Olsak, 2012
+
+\message{UTF-8 declaration: LATIN EXTENDED-A, U+0100--U+017F}
+
+% You can define the \setucode texname htmlentity utf8code T1slot {TeX action}
+% by yours opinion before \input utf8lata. If no definition is prepared by you,
+% the implicit one do following:
+% (1) Maps utf8code to \texname by encTeX's \mubytein ... \mubyteout
+% (2) if \texname is undefined do \def\texname{TeX action}
+% (3) The parameters htmlentity and T1slot are ignored
+%
+% If T1slot=* then the character is not provided by T1 encoding.
+% See the file t1code.tex for an alternative \setucode definition which uses T1slot.
+%
+% The \setcsucode is implicitly the same as \setucode, but csplain defines it as
+% ,,do nothing`` because the code is mapped by csplain as a raw character.
+%
+% Some slots are defined as \uuchar (means UndefinedUtf8char) because there
+% are not common tools for define them by plainTeX. You can redefine them, of course.
+
+
+
+\ifx\setucode\undefined
+
+\ifx\mubyte\undefined
+ \errhelp{Sorry, you can't use this file without encTeX initialised.}
+ \errmessage{The encTeX extension of TeX with \noexpand\mubyte is not found}
+ \expandafter\expandafter\expandafter \endinput
+\else
+
+% The implicit \setucode definition:
+
+\def\setucode #1 #2 #3 #4 #5{%
+ \expandafter \mubyte \csname#1\endcsname #3\endmubyte
+ \expandafter \ifx \csname#1\endcsname \relax
+ \expandafter \def\csname#1\endcsname{#5}%
+ \fi
+}
+\ifx\setcsucode\undefined \let\setcsucode=\setucode \fi
+
+\fi\fi
+
+\def\uuchar#1#2{% Undefined Utf8 character
+ \message{WARNING: undefined UTF-8 slot \string#1: #2}%
+ \leavevmode\hbox{\vrule width.5em height.5em}%
+}
+
+\let\doaccent=\char % accents alone are declared as \doaccent<number>, implicitly \char<number>.
+ % you can set: \let\doaccent=\accent: then accents will be placed over the next character.
+\def\intext#1{\leavevmode\hbox{$#1$}} % the math construction working in text mode.
+
+\setucode Amacron * ^^c4^^80 * {\=A}
+\setucode amacron * ^^c4^^81 * {\=a}
+\setucode Abreve * ^^c4^^82 ^^80 {\u A}
+\setucode abreve * ^^c4^^83 ^^a0 {\u a}
+\setucode Aogonek * ^^c4^^84 ^^81 {\k A}
+\setucode aogonek * ^^c4^^85 ^^a1 {\k a}
+\setucode Cacute * ^^c4^^86 ^^82 {\'C}
+\setucode cacute * ^^c4^^87 ^^a2 {\'c}
+\setucode Ccircumflex * ^^c4^^88 * {\^C}
+\setucode ccircumflex * ^^c4^^89 * {\^c}
+\setucode Cdotabove * ^^c4^^8a * {\.C}
+\setucode cdotabove * ^^c4^^8b * {\.c}
+\setcsucode Ccaron * ^^c4^^8c ^^83 {\v C}
+\setcsucode ccaron * ^^c4^^8d ^^a3 {\v c}
+\setcsucode Dcaron * ^^c4^^8e ^^84 {\v D}
+\setcsucode dcaron * ^^c4^^8f ^^a4 {\v d}
+\setucode Dstroke * ^^c4^^90 * {\uuchar\Dstroke{LATIN CAPITAL LETTER D WITH STROKE}}
+\setucode dstroke * ^^c4^^91 * {\uuchar\dstroke{LATIN SMALL LETTER D WITH STROKE}}
+\setucode Emacron * ^^c4^^92 * {\=E}
+\setucode emacron * ^^c4^^93 * {\=e}
+\setucode Ebreve * ^^c4^^94 * {\u E}
+\setucode ebreve * ^^c4^^95 * {\u e}
+\setucode Edotabove * ^^c4^^96 * {\.E}
+\setucode edotabove * ^^c4^^97 * {\.e}
+\setucode Eogonek * ^^c4^^98 ^^86 {\k E}
+\setucode eogonek * ^^c4^^99 ^^a6 {\k e}
+\setcsucode Ecaron * ^^c4^^9a ^^85 {\v E}
+\setcsucode ecaron * ^^c4^^9b ^^a5 {\v e}
+\setucode Gcircumflex * ^^c4^^9c * {\^G}
+\setucode gcircumflex * ^^c4^^9d * {\^g}
+\setucode Gbreve * ^^c4^^9e ^^87 {\u G}
+\setucode gbreve * ^^c4^^9f ^^a7 {\u g}
+\setucode Gdotabove * ^^c4^^a0 * {\.G}
+\setucode gdotabove * ^^c4^^a1 * {\.g}
+\setucode Gcedilla * ^^c4^^a2 * {\c G}
+\setucode gcedilla * ^^c4^^a3 * {\c g}
+\setucode Hcircumflex * ^^c4^^a4 * {\^H}
+\setucode hcircumflex * ^^c4^^a5 * {\^h}
+\setucode Hstroke * ^^c4^^a6 * {\uuchar\Hstroke{LATIN CAPITAL LETTER H WITH STROKE}}
+\setucode hstroke * ^^c4^^a7 * {\uuchar\hstroke{LATIN SMALL LETTER H WITH STROKE}}
+\setucode Itilde * ^^c4^^a8 * {\~I}
+\setucode itilde * ^^c4^^a9 * {\~\i}
+\setucode Imacron * ^^c4^^aa * {\=I}
+\setucode imacron * ^^c4^^ab * {\=\i}
+\setucode Ibreve * ^^c4^^ac * {\u I}
+\setucode ibreve * ^^c4^^ad * {\u i}
+\setucode Iogonek * ^^c4^^ae * {\k I}
+\setucode iogonek * ^^c4^^af * {\k i}
+\setucode Idotabove * ^^c4^^b0 ^^9d {\.I}
+\setucode i * ^^c4^^b1 ^^19 {defined already}
+\setucode IJlig * ^^c4^^b2 ^^9c {IJ}
+\setucode ijlig * ^^c4^^b3 ^^bc {ij}
+\setucode Jcircumflex * ^^c4^^b4 * {\^J}
+\setucode jcircumflex * ^^c4^^b5 * {\^j}
+\setucode Kcedilla * ^^c4^^b6 * {\c K}
+\setucode kcedilla * ^^c4^^b7 * {\c k}
+\setucode krachar * ^^c4^^b8 * {\uuchar\krachar{LATIN SMALL LETTER KRA}}
+\setcsucode Lacute * ^^c4^^b9 ^^88 {\'L}
+\setcsucode lacute * ^^c4^^ba ^^a8 {\'l}
+\setucode Lcedilla * ^^c4^^bb * {\c L}
+\setucode lcedilla * ^^c4^^bc * {\c l}
+\setcsucode Lcaron * ^^c4^^bd ^^89 {\v L}
+\setcsucode lcaron * ^^c4^^be ^^a9 {\v l}
+\setucode Ldotmiddle * ^^c4^^bf * {L\llap{\raise.7ex\hbox{.\kern.1ex}}}
+
+\setucode ldotmiddle * ^^c5^^80 * {l\kern-.2ex\raise.7ex\hbox{.}}
+\setucode L * ^^c5^^81 ^^8a {defined already}
+\setucode l * ^^c5^^82 ^^aa {defined already}
+\setucode Nacute * ^^c5^^83 ^^8b {\'N}
+\setucode nacute * ^^c5^^84 ^^ab {\'n}
+\setucode Ncedilla * ^^c5^^85 * {\c N}
+\setucode ncedilla * ^^c5^^86 * {\c n}
+\setcsucode Ncaron * ^^c5^^87 ^^8c {\v N}
+\setcsucode ncaron * ^^c5^^88 ^^ac {\v n}
+\setucode napostrophe * ^^c5^^89 * {'n}
+\setucode ENGchar * ^^c5^^8a ^^8d {\uuchar\ENGchar{LATIN CAPITAL LETTER ENG}}
+\setucode engchar * ^^c5^^8b ^^ad {\uuchar\engchar{LATIN SMALL LETTER ENG}}
+\setucode Omacron * ^^c5^^8c * {\=O}
+\setucode omacron * ^^c5^^8d * {\=o}
+\setucode Obreve * ^^c5^^8e * {\u O}
+\setucode obreve * ^^c5^^8f * {\u o}
+\setucode Ohungarumlaut * ^^c5^^90 ^^8e {\H O}
+\setucode ohungarumlaut * ^^c5^^91 ^^ae {\H o}
+\setucode OE * ^^c5^^92 ^^d7 {defined already}
+\setucode oe * ^^c5^^93 ^^f7 {defined already}
+\setcsucode Racute * ^^c5^^94 ^^8f {\'R}
+\setcsucode racute * ^^c5^^95 ^^af {\'r}
+\setucode Rcedilla * ^^c5^^96 * {\c R}
+\setucode rcedilla * ^^c5^^97 * {\c r}
+\setcsucode Rcaron * ^^c5^^98 ^^90 {\v R}
+\setcsucode rcaron * ^^c5^^99 ^^b0 {\v r}
+\setucode Sacute * ^^c5^^9a ^^91 {\'S}
+\setucode sacute * ^^c5^^9b ^^b1 {\'s}
+\setucode Scircumflex * ^^c5^^9c * {\^S}
+\setucode scircumflex * ^^c5^^9d * {\^s}
+\setucode Scedilla * ^^c5^^9e ^^93 {\c S}
+\setucode scedilla * ^^c5^^9f ^^b3 {\c s}
+\setcsucode Scaron * ^^c5^^a0 ^^92 {\v S}
+\setcsucode scaron * ^^c5^^a1 ^^b2 {\v s}
+\setucode Tcedilla * ^^c5^^a2 ^^95 {\c T}
+\setucode tcedilla * ^^c5^^a3 ^^b5 {\c t}
+\setcsucode Tcaron * ^^c5^^a4 ^^94 {\v T}
+\setcsucode tcaron * ^^c5^^a5 ^^b4 {\v t}
+\setucode Tstroke * ^^c5^^a6 * {\uuchar\Tstroke{LATIN CAPITAL LETTER T WITH STROKE}}
+\setucode tstroke * ^^c5^^a7 * {\uuchar\tstroke{LATIN SMALL LETTER T WITH STROKE}}
+\setucode Utilde * ^^c5^^a8 * {\~U}
+\setucode utilde * ^^c5^^a9 * {\~u}
+\setucode Umacron * ^^c5^^aa * {\=U}
+\setucode umacron * ^^c5^^ab * {\=u}
+\setucode Ubreve * ^^c5^^ac * {\u U}
+\setucode ubreve * ^^c5^^ad * {\u u}
+\setcsucode Uring * ^^c5^^ae ^^97 {\r U}
+\setcsucode uring * ^^c5^^af ^^b7 {\r u}
+\setucode Uhungarumlaut * ^^c5^^b0 ^^96 {\H U}
+\setucode uhungarumlaut * ^^c5^^b1 ^^b6 {\H u}
+\setucode Uogonek * ^^c5^^b2 * {\k U}
+\setucode uogonek * ^^c5^^b3 * {\k u}
+\setucode Wcircumflex * ^^c5^^b4 * {\^W}
+\setucode wcircumflex * ^^c5^^b5 * {\^w}
+\setucode Ycircumflex * ^^c5^^b6 * {\^Y}
+\setucode ycircumflex * ^^c5^^b7 * {\^y}
+\setucode Ydieresis * ^^c5^^b8 ^^98 {\"Y}
+\setucode Zacute * ^^c5^^b9 ^^99 {\'Z}
+\setucode zacute * ^^c5^^ba ^^b9 {\'z}
+\setucode Zdotabove * ^^c5^^bb ^^9b {\.Z}
+\setucode zdotabove * ^^c5^^bc ^^bb {\.z}
+\setcsucode Zcaron * ^^c5^^bd ^^9a {\v Z}
+\setcsucode zcaron * ^^c5^^be ^^ba {\v z}
+\setucode longschar * ^^c5^^bf * {\uuchar\longschar{LATIN SMALL LETTER LONG S}}
+
+% end of file utf8lata.tex
+
diff --git a/Master/texmf-dist/tex/generic/enctex/utf8off.tex b/Master/texmf-dist/tex/generic/enctex/utf8off.tex
new file mode 100644
index 00000000000..d75597a19d4
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/enctex/utf8off.tex
@@ -0,0 +1,26 @@
+% utf8off.tex ... switches off the encTeX \mubyte tables
+% ------------------------------------------------------
+% Petr Olsak, Oct. 2012
+%
+% You can write
+%
+% \input utf8off
+%
+% at the beginning of your old ISO-8859-2 encoded document and all
+% processing is in the old manner.
+% If encTeX is not detected, nothing is done.
+
+\ifx\mubytein\undefined
+ \message{WARNING: encTeX isn't initialised, settings are ignored}
+ \expandafter\endinput \fi
+
+\message{The encTeX's \noexpand\mubyte tables are switched off.}
+\mubytein=0 \mubyteout=0 \mubytelog=0
+\ifx\xprncodes\undefined \else \xprncodes=1 \fi
+
+\def\clearmubyte{{\count0=128
+ \loop \lccode`@=\count0 \lowercase{\mubyte @@\endmubyte}\advance \count0 by1
+ \ifnum\count0<256 \repeat}}
+
+
+% end of file