summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-27 22:38:54 +0000
committerKarl Berry <karl@freefriends.org>2006-08-27 22:38:54 +0000
commit2607d53137ede06e9780342b225218743e100bb4 (patch)
treec6c88c805dd21a5bbb6ad6f26d3d53c517f4b866 /Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def
parentfb0d58de45c0fc32bab09a839c186de46f75628e (diff)
oberdiek update from tds zip (28aug06)
git-svn-id: svn://tug.org/texlive/trunk@2054 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def122
1 files changed, 122 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def b/Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def
new file mode 100644
index 00000000000..6aba10a6a63
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/oberdiek/bmpsize-dvips.def
@@ -0,0 +1,122 @@
+%%
+%% This is file `bmpsize-dvips.def',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% bmpsize.dtx (with options: `dvips')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2006 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
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% This Current Maintainer of this work is Heiko Oberdiek.
+%%
+%% This work consists of the main source file bmpsize.dtx
+%% and the derived files
+%% bmpsize.sty, bmpsize.pdf, bmpsize.ins, bmpsize.drv,
+%% bmpsize-base.sty, bmpsize-test.tex, bmpsize-dvips.def,
+%% bmpsize-dvipdfm.def, bmpsize-dvipdfmx.def.
+%%
+\ProvidesFile{bmpsize-dvips.def}%
+ [2006/08/24 v1.0 Graphics bitmap driver for dvips (HO)]
+\expandafter\edef\csname @bmpsize@driver@catcodes\endcsname{%
+ \catcode44 \the\catcode44 % ,
+ \catcode58 \the\catcode58 % :
+ \catcode60 \the\catcode60 % <
+ \catcode61 \the\catcode61 % =
+ \catcode62 \the\catcode62 % >
+ \catcode64 \the\catcode64 % @
+}
+\catcode64 11 %
+\@makeother\,
+\@makeother\:
+\@makeother\<
+\@makeother\=
+\@makeother\>
+\def\Ginclude@bmp#1{%
+ \message{<#1>}%
+ \raise\Gin@req@height
+ \hbox to\Gin@req@width{%
+ \ifGin@clip
+ \vbox to\z@{%
+ \special{ps:gsave currentpoint}%
+ \kern\Gin@req@height
+ \hbox to\z@{%
+ \kern\Gin@req@width
+ \special{ps:%
+ currentpoint
+ newpath
+ 3 index 3 index moveto
+ 1 index 3 index lineto
+ 2 copy lineto
+ exch pop exch pop
+ lineto
+ closepath
+ clip
+ }%
+ \hss
+ }%
+ \vss
+ }%
+ \fi
+ \@ifundefined{Gin@ollx}{%
+ \dimen@\z@
+ }{%
+ \ifx\Gin@scalex\Gin@exclamation
+ \let\Gin@scalex\Gin@scaley
+ \fi
+ \ifx\Gin@scaley\Gin@exclamation
+ \let\Gin@scaley\Gin@scalex
+ \fi
+ \@ifundefined{bmpsize@width}{%
+ \let\bmpsize@width\Gin@ourx
+ \let\bmpsize@height\Gin@oury
+ }{}%
+ \dimen@=\Gin@llx bp\relax
+ \dimen@=\Gin@scalex\dimen@
+ \kern-\dimen@
+ \advance\Gin@req@width\dimen@
+ \dimen@=\bmpsize@width bp\relax
+ \advance\dimen@ by -\Gin@urx bp\relax
+ \dimen@=\Gin@scalex\dimen@
+ \advance\Gin@req@width\dimen@
+ \dimen@=\Gin@lly bp\relax
+ \dimen@=\Gin@scaley\dimen@
+ \advance\Gin@req@height\dimen@
+ \dimen@=\bmpsize@height bp\relax
+ \advance\dimen@ by -\Gin@ury bp\relax
+ \dimen@=\Gin@scaley\dimen@
+ \advance\Gin@req@height\dimen@
+ }%
+ \ifdim\dimen@=\z@
+ \else
+ \vbox to\z@\bgroup
+ \kern-\dimen@
+ \fi
+ \special{em:graph #1,\the\Gin@req@width,\the\Gin@req@height}%
+ \ifdim\dimen@=\z@
+ \else
+ \vss
+ \egroup
+ \fi
+ \ifGin@clip
+ \special{ps::grestore}%
+ \fi
+ \hss
+ }%
+}
+\@bmpsize@driver@catcodes
+\endinput
+%%
+%% End of file `bmpsize-dvips.def'.