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.sty25
1 files changed, 11 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
index f0e04ca9acb..92864e105f7 100644
--- a/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
+++ b/Master/texmf-dist/tex/generic/oberdiek/setouterhbox.sty
@@ -8,7 +8,8 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2005, 2006 by Heiko Oberdiek <oberdiek@uni-freiburg.de>
+%% Copyright (C) 2005, 2006, 2007 by
+%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
@@ -66,20 +67,16 @@
\fi
\expandafter\x\csname ver@setouterhbox.sty\endcsname
\ProvidesPackage{setouterhbox}%
- [2006/08/26 v1.4 Set hbox in outer horizontal mode (HO)]%
+ [2007/04/26 v1.5 Set hbox in outer horizontal mode (HO)]%
\newbox\setouterhboxBox
-\def\setouterhboxFailure#1#2{%
- \begingroup
- \expandafter\ifx\csname PackageError\endcsname\relax
- \def\MessageBreak{^^J}%
- \newlinechar=10\relax
- \edef\z{#2}%
- \errhelp\expandafter{\z}%
- \errmessage{Package setouterhbox Error: #1}%
- \else
- \PackageError{setouterhbox}{#1}{#2}%
- \fi
- \endgroup
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname RequirePackage\endcsname\relax
+ \input infwarerr.sty\relax
+\else
+ \RequirePackage{infwarerr}%
+\fi
+\edef\setouterhboxFailure#1#2{%
+ \expandafter\noexpand\csname @PackageError\endcsname{setouterhbox}{#1}{#2}%
}
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname lastnodetype\endcsname\relax