summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty')
-rw-r--r--Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty28
1 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
index 92864e105f7..b6035381354 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
@@ -29,6 +29,11 @@
%% setouterhbox-example.tex.
%%
\begingroup
+ \catcode44 12 % ,
+ \catcode45 12 % -
+ \catcode46 12 % .
+ \catcode58 12 % :
+ \catcode64 11 % @
\expandafter\let\expandafter\x\csname ver@setouterhbox.sty\endcsname
\ifcase 0%
\ifx\x\relax % plain
@@ -52,14 +57,22 @@
\fi
\endgroup
\begingroup
+ \catcode40 12 % (
+ \catcode41 12 % )
+ \catcode44 12 % ,
+ \catcode45 12 % -
+ \catcode46 12 % .
+ \catcode47 12 % /
+ \catcode58 12 % :
+ \catcode64 11 % @
\expandafter\ifx\csname ProvidesPackage\endcsname\relax
- \def\x#1#2#3[#4]{\endgroup
- \immediate\write-1{Package: #3 #4}%
- \xdef#1{#4}%
- }%
+ \def\x#1#2#3[#4]{\endgroup
+ \immediate\write-1{Package: #3 #4}%
+ \xdef#1{#4}%
+ }%
\else
\def\x#1#2[#3]{\endgroup
- #2[#3]%
+ #2[{#3}]%
\ifx#1\relax
\xdef#1{#3}%
\fi
@@ -67,7 +80,7 @@
\fi
\expandafter\x\csname ver@setouterhbox.sty\endcsname
\ProvidesPackage{setouterhbox}%
- [2007/04/26 v1.5 Set hbox in outer horizontal mode (HO)]%
+ [2007/05/17 v1.6 Set hbox in outer horizontal mode (HO)]
\newbox\setouterhboxBox
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname RequirePackage\endcsname\relax
@@ -76,7 +89,8 @@
\RequirePackage{infwarerr}%
\fi
\edef\setouterhboxFailure#1#2{%
- \expandafter\noexpand\csname @PackageError\endcsname{setouterhbox}{#1}{#2}%
+ \expandafter\noexpand\csname @PackageError\endcsname
+ {setouterhbox}{#1}{#2}%
}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname lastnodetype\endcsname\relax