diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/arabtex/utf8.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/arabtex/utf8.sty | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arabtex/utf8.sty b/Master/texmf-dist/tex/latex/arabtex/utf8.sty new file mode 100644 index 00000000000..604cda0bbfa --- /dev/null +++ b/Master/texmf-dist/tex/latex/arabtex/utf8.sty @@ -0,0 +1,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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + |