summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/stringenc.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-10-25 00:14:21 +0000
committerKarl Berry <karl@freefriends.org>2007-10-25 00:14:21 +0000
commit3a17bfd79ba2527e8947328a85d40bb12a75cedb (patch)
tree14d6a30c876712ca634fc72acdb683873ff7a0a6 /Master/texmf-dist/tex/generic/oberdiek/stringenc.sty
parent7d6ef8fd8f6ae3043dd7aa5c350ac30e8ee509ec (diff)
oberdiek update, kvoptions3.0 askinclude2.0 ... (24oct07)
git-svn-id: svn://tug.org/texlive/trunk@5275 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/stringenc.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/stringenc.sty32
1 files changed, 19 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/stringenc.sty b/Master/texmf-dist/tex/generic/oberdiek/stringenc.sty
index 9ed85d874c8..8b034b61690 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/stringenc.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/stringenc.sty
@@ -91,7 +91,7 @@
\fi
\expandafter\x\csname ver@stringenc.sty\endcsname
\ProvidesPackage{stringenc}%
- [2007/09/09 v1.2 Converts strings between encodings (HO)]
+ [2007/10/22 v1.3 Converts strings between encodings (HO)]
\expandafter\edef\csname SE@AtEnd\endcsname{%
\catcode64 \the\catcode64\relax
}
@@ -262,23 +262,15 @@
\def\StringEncodingLoad#1{%
\begingroup
\catcode32=10 % space/space
- \catcode34=12 % "
\catcode35=6 % #/parameter
\catcode37=14 % percent/comment character
- \catcode45=12 % -
- \catcode46=12 % .
- \catcode47=12 % /
- \catcode58=12 % :
- \catcode60=12 % <
- \catcode61=12 % =
- \catcode62=12 % >
- \catcode64=11 % @
- \catcode91=12 % [
\catcode92=0 % backslash/escape character
- \catcode93=12 % ]
\catcode123=1 % {/beginning of group
\catcode125=2 % }/end of group
\endlinechar=-1 %
+ \SE@MakeLetters @ABCDEFGHIKLMNOPRSTU%
+ abcdefghiklmnoprstuvwxyz\relax
+ \SE@MakeOthers "-./:<=>[]0123456789\relax
\expandafter\ifx\csname ProvidesFile\endcsname\relax
\def\ProvidesFile##1[##2]{%
\immediate\write-1{File: ##1 ##2}%
@@ -287,6 +279,20 @@
\SE@InputIfFileExists{se-#1.def}%
\endgroup
}
+\def\SE@MakeLetters#1{%
+ \ifx#1\relax
+ \else
+ \catcode`#1=11 %
+ \expandafter\SE@MakeLetters
+ \fi
+}
+\def\SE@MakeOthers#1{%
+ \ifx#1\relax
+ \else
+ \catcode`#1=12 %
+ \expandafter\SE@MakeOthers
+ \fi
+}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname IfFileExists\endcsname\relax
\begingroup\expandafter\expandafter\expandafter\endgroup
@@ -709,7 +715,7 @@ $ \fi
\SE@temp{mac-cyrillic}
\SE@temp{mac-roman}
\SE@temp{nextstep}
-\def\SE@EncodingFileList{%
+\def\StringEncodingList{%
ascii,%
cp437,%
cp850,%