diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty index b6035381354..99c3bc51b24 100644 --- a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty +++ b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty @@ -26,7 +26,8 @@ %% This work consists of the main source file setouterhbox.dtx %% and the derived files %% setouterhbox.sty, setouterhbox.pdf, setouterhbox.ins, setouterhbox.drv, -%% setouterhbox-example.tex. +%% setouterhbox-example.tex, setouterhbox-test1.tex, +%% setouterhbox-test2.tex. %% \begingroup \catcode44 12 % , @@ -80,13 +81,35 @@ \fi \expandafter\x\csname ver@setouterhbox.sty\endcsname \ProvidesPackage{setouterhbox}% - [2007/05/17 v1.6 Set hbox in outer horizontal mode (HO)] + [2007/09/09 v1.7 Set hbox in outer horizontal mode (HO)] +\expandafter\edef\csname setouterhboxAtEnd\endcsname{% + \catcode64 \the\catcode64\relax +} +\catcode64 11 % @ +\def\TMP@EnsureCode#1#2{% + \edef\setouterhboxAtEnd{% + \setouterhboxAtEnd + \catcode#1 \the\catcode#1\relax + }% + \catcode#1 #2\relax +} +\TMP@EnsureCode{40}{12}% ( +\TMP@EnsureCode{41}{12}% ) +\TMP@EnsureCode{44}{12}% , +\TMP@EnsureCode{45}{12}% - +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{58}{12}% : +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{61}{12}% = +\TMP@EnsureCode{62}{12}% > +\TMP@EnsureCode{96}{12}% ` \newbox\setouterhboxBox \begingroup\expandafter\expandafter\expandafter\endgroup \expandafter\ifx\csname RequirePackage\endcsname\relax \input infwarerr.sty\relax \else - \RequirePackage{infwarerr}% + \RequirePackage{infwarerr}[2007/09/09]% \fi \edef\setouterhboxFailure#1#2{% \expandafter\noexpand\csname @PackageError\endcsname @@ -232,6 +255,7 @@ E \egroup \expandafter\endgroup \ifx\x\fmtname \else + \setouterhboxAtEnd \expandafter\endinput \fi \DeclareOption{hyperref}{% @@ -240,6 +264,7 @@ E \egroup }% } \ProcessOptions\relax +\setouterhboxAtEnd \endinput %% %% End of file `setouterhbox.sty'. |