summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/arabtex/raw.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:51:33 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:51:33 +0000
commitaec1c1b77ee51b9359530d61cc7b8df2a37c7685 (patch)
tree8b5e1e20b56e0abf130e7da219468e197cde8725 /Master/texmf-dist/tex/latex/arabtex/raw.sty
parente1c54083e49986785dd4d24e891b89e0772a4de1 (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/raw.sty')
-rw-r--r--Master/texmf-dist/tex/latex/arabtex/raw.sty42
1 files changed, 42 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/arabtex/raw.sty b/Master/texmf-dist/tex/latex/arabtex/raw.sty
new file mode 100644
index 00000000000..01740d91303
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/arabtex/raw.sty
@@ -0,0 +1,42 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%% raw.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% raw.sty
+% package for activating most special characters for OCR work
+% and switching off most special processing
+% the characters " < > cannot presently be handled correctly
+% activate special processing by \setraw
+% revert to the normal mode by \unsetraw
+% 04.03.1996
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% (c) Klaus Lagally
+% Institut fuer Informatik
+% Universitaet Stuttgart
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ifx \rawatcode \undefined \else \expandafter \endinput
+\fi % load only once
+
+\chardef \rawatcode = \catcode`\@ \catcode`\@ = 11
+
+\a@ident {raw.sty} {0.91 special characters} {04.03.1996}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\def \setraw {% activate special characters
+\a@paren = {} \a@digits = {} \a@first = {.'`~,|:}
+\catcode `\^ 12 \catcode `\_ 12
+\catcode `\$ 12 \catcode `\# 12 \catcode `\& 12
+\catcode `\% 12 \catcode `\- 11 \catcode `\= 11 }
+
+\def \unsetraw {% undo changes
+\a@digits = {0123456789} \a@paren = {()[]}
+\a@first = {.^_-'`~,|"=:} % default, scanner dependent
+\catcode `\^ 7 \catcode `\_ 8
+\catcode `\$ 3 \catcode `\# 6 \catcode `\& 4
+\catcode `\% 14 \catcode `\- 12 \catcode `\= 12 }
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\catcode `\@ = \rawatcode
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%% EOF %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+ \ No newline at end of file