diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:33 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:51:33 +0000 |
commit | aec1c1b77ee51b9359530d61cc7b8df2a37c7685 (patch) | |
tree | 8b5e1e20b56e0abf130e7da219468e197cde8725 /Master/texmf-dist/tex/latex/arabtex/utf8.sty | |
parent | e1c54083e49986785dd4d24e891b89e0772a4de1 (diff) |
arabtex
git-svn-id: svn://tug.org/texlive/trunk@673 c570f23f-e606-0410-a88d-b1316a301751
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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + |