summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-09-16 00:07:34 +0000
committerKarl Berry <karl@freefriends.org>2007-09-16 00:07:34 +0000
commitd85f248e3b38ea0ecda38c5340e3cadd08d65346 (patch)
tree52e17f32b395006895b3917bc7729c7ac1514ae3 /Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
parent2389552f283181e0d8c610037712ade989112da3 (diff)
oberdiek update (14sep07)
git-svn-id: svn://tug.org/texlive/trunk@4947 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty31
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'.