blob: 80c754b479e9ce242ae8f447c18a903b58968838 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
|
%%%%%%%%%%%%%%%%%%%%%%%%%%% utf8.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% utf8.sty
% Scanner for UTF-8 Code
% to install it, include it as a LaTeX package or style option "utf8"
% with Plain TeX, say "\input utf8.sty"
% to activate it, say "\setcode {utf8}"
% 13.06.2000
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% (c) Klaus Lagally
% Institut fuer Informatik
% Universitaet Stuttgart
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifx \utfatcode \undefined \else \expandafter \endinput
\fi % load only once
\chardef \utfatcode = \catcode`\@ \catcode`\@ = 11
\UsePackage {utfcode}
\a@ident {utf8.sty} {3.10 UTF-8 input encoding } {13.06.2000}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\gdef \set@utfc {% select the UTF-8 scanner
\global\let \a@scan \utfc@scan
\global\def \sc@beg {\utf@beg }%
\global\def \sc@word {\utf@word }%
\global\a@digits = {0123456789}%
\global\a@first = {ϕ}%
\catcode ` 11
\a@message {input encoding set to UTF-8 conventions}}
\xpa \def \xpa \sc@table \xpa {\sc@table % add the UTF-8 encoding
utf-8\set@utfc utf8\set@utfc }
\a@message {scanner for code UTF-8 installed.}
\catcode `\@ = \utfatcode
\endinput
%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|