summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/csenc-w.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:45:28 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:45:28 +0000
commit60538160ba9400a121853696453ddb0dc93e3a0c (patch)
tree96daccd0b1128608f9f4eb15244bb7af8a567c3c /Master/texmf-dist/tex/csplain/base/csenc-w.tex
parent0d9effad76aadeaf26ed7706be6f79e3aaef716e (diff)
trunk/Master/texmf-dist/tex/csplain
git-svn-id: svn://tug.org/texlive/trunk@610 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/csenc-w.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/base/csenc-w.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/csenc-w.tex b/Master/texmf-dist/tex/csplain/base/csenc-w.tex
new file mode 100644
index 00000000000..b93dd8e1804
--- /dev/null
+++ b/Master/texmf-dist/tex/csplain/base/csenc-w.tex
@@ -0,0 +1,29 @@
+%%% The re-encoding table for Czech/Slovak alphabet using encTeX,
+%%% v.Oct.1998 (C) Petr Ol\v s\'ak
+%%% input: CP1250, internal TeX: ISO-8859-2
+%%% This file may be used while csplain, cseplain or cslatex is generated
+%%% example: tex -ini \let\enc=w \input csplain.ini
+
+\ifx\xordcode\undefined
+ \errhelp={You has specified \let\enc=w but this works only with encTeX
+ extension of TeX binary. See ftp://math.feld.cvut.cz/pub/olsak/enctex.}
+ \errmessage{The encTeX is not detected -- the re-encoding is not possible}
+ \endinput \fi
+
+\def\setinputchr #1 #2 {\xordcode#1=#2 \xchrcode#2=#1 }
+
+%% input TeX
+\setinputchr "BC "A5 % \v L
+\setinputchr "BE "B5 % \v l
+\setinputchr "8A "A9 % \v S
+\setinputchr "9A "B9 % \v s
+\setinputchr "8D "AB % \v T
+\setinputchr "9D "BB % \v t
+\setinputchr "8E "AE % \v Z
+\setinputchr "9E "BE % \v z
+
+\global\everyjob=\expandafter{\the\everyjob
+ \message{The CP1250->ISO-8859-2 re-encoding is activated by encTeX}}
+
+\endinput
+