diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/engord.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/oberdiek/engord.sty | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/engord.sty b/Master/texmf-dist/tex/generic/oberdiek/engord.sty index 10ce62ce22d..57d5b2c2c99 100644 --- a/Master/texmf-dist/tex/generic/oberdiek/engord.sty +++ b/Master/texmf-dist/tex/generic/oberdiek/engord.sty @@ -25,7 +25,8 @@ %% %% This work consists of the main source file engord.dtx %% and the derived files -%% engord.sty, engord.pdf, engord.ins, engord.drv. +%% engord.sty, engord.pdf, engord.ins, engord.drv, +%% engord-test1.tex. %% \begingroup \catcode44 12 % , @@ -79,9 +80,27 @@ \fi \expandafter\x\csname ver@engord.sty\endcsname \ProvidesPackage{engord}% - [2007/04/26 v1.4 Provides the ifpdf switch (HO)] -\expandafter\chardef\csname EO@atcode\endcsname\catcode`\@ -\catcode`\@=11 % + [2007/09/09 v1.5 Provides the ifpdf switch (HO)] +\expandafter\edef\csname EO@AtEnd\endcsname{% + \catcode64 \the\catcode64\relax +} +\catcode64 11 % @ +\def\TMP@EnsureCode#1#2{% + \edef\EO@AtEnd{% + \EO@AtEnd + \catcode#1 \the\catcode#1\relax + }% + \catcode#1 #2\relax +} +\TMP@EnsureCode{33}{12}% ! +\TMP@EnsureCode{36}{3}% $ +\TMP@EnsureCode{39}{12}% ' +\TMP@EnsureCode{42}{12}% * +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{94}{7}% ^(superscript) +\TMP@EnsureCode{96}{12}% ` \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname newcommand\endcsname\relax \def\EO@def{\def}% @@ -95,7 +114,7 @@ \expandafter\ifx\csname RequirePackage\endcsname\relax \input infwarerr.sty\relax \else - \RequirePackage{infwarerr}% + \RequirePackage{infwarerr}[2007/09/09]% \fi \newif\ifengordraise \engordraisetrue @@ -197,7 +216,7 @@ #2\EO@ord{#1}% \fi } -\catcode`\@=\EO@atcode +\EO@AtEnd \endinput %% %% End of file `engord.sty'. |