summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty32
1 files changed, 5 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty b/Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty
index e30608f5b74..42e934543ec 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/bmpsize.sty
@@ -29,7 +29,7 @@
%% bmpsize-dvipdfm.def, bmpsize-dvipdfmx.def.
%%
\ProvidesPackage{bmpsize}%
- [2007/04/11 v1.2 Extract size and resolution data from bitmap files (HO)]%
+ [2007/04/29 v1.3 Extract size and resolution data from bitmap files (HO)]%
\RequirePackage{ifpdf}
\ifpdf
\PackageInfo{bmpsize}{Superseded by pdfTeX in PDF mode}%
@@ -46,29 +46,7 @@
\RequirePackage{graphics}
\RequirePackage{keyval}
\RequirePackage{bmpsize-base}
-
-\begingroup\expandafter\expandafter\expandafter\endgroup
-\expandafter\ifx\csname PackageWarning\endcsname\relax
- \def\@bmpsize@warning#1#2{%
- \begingroup
- \newlinechar=10 %
- \def\MessageBreak{%
- ^^J%
- (bmpsize) %
- \space\space\space\space
- \space\space\space\space
- \space\space\space\space
- \space\space\space
- }%
- \immediate\write16{%
- Package bmpsize Warning: #2 %
- on input line \the\inputlineno.%
- }%
- \endgroup
- }%
-\else
- \def\@bmpsize@warning{\PackageWarning{bmpsize}}%
-\fi
+\RequirePackage{infwarerr}
\InputIfFileExists{bmpsize-\Gin@driver}{}{}
@@ -159,7 +137,7 @@
\ifbmpsize@ok
\ifGin@bbox
\@ifundefined{Gin@vllx}{%
- \@bmpsize@warning{Explicit bounding box is ignored}%
+ \@PackageWarning{bmpsize}{Explicit bounding box is ignored}%
}{%
\ifx\Gin@viewport@code\relax
\def\Gin@ollx{0}%
@@ -171,12 +149,12 @@
\let\Gin@vurx\Gin@urx
\let\Gin@vury\Gin@ury
\let\Gin@viewport@code\Gin@viewport
- \@bmpsize@warning{%
+ \@PackageWarning{bmpsize}{%
Explicit bounding box replaced by\MessageBreak
viewport setting%
}%
\else
- \@bmpsize@warning{Explicit bounding box is ignored}%
+ \@PackageWarning{bmpsize}{Explicit bounding box is ignored}%
\fi
}%
\fi