File: enc-w.tex

package info (click to toggle)
tetex-base 3.0.dfsg.3-5etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 239,592 kB
  • ctags: 10,610
  • sloc: xml: 103,461; perl: 9,398; ruby: 2,850; python: 1,551; php: 1,067; sh: 981; lisp: 494; makefile: 371; awk: 88
file content (29 lines) | stat: -rw-r--r-- 1,008 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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