summaryrefslogtreecommitdiff
path: root/graphics/pstricks/contrib/pst-graphicx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/pstricks/contrib/pst-graphicx
Initial commit
Diffstat (limited to 'graphics/pstricks/contrib/pst-graphicx')
-rw-r--r--graphics/pstricks/contrib/pst-graphicx/Changes7
-rw-r--r--graphics/pstricks/contrib/pst-graphicx/README13
-rw-r--r--graphics/pstricks/contrib/pst-graphicx/demo.tex6
-rw-r--r--graphics/pstricks/contrib/pst-graphicx/pst-graphicx.tex41
4 files changed, 67 insertions, 0 deletions
diff --git a/graphics/pstricks/contrib/pst-graphicx/Changes b/graphics/pstricks/contrib/pst-graphicx/Changes
new file mode 100644
index 0000000000..f6c2f3c486
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-graphicx/Changes
@@ -0,0 +1,7 @@
+..... pst-graphicx.tex
+0.02 2012-03-13 - small changes in the package
+ - edited README
+ - added demo.tex file
+0.01 2012-03-12 - initial CTAN version
+
+
diff --git a/graphics/pstricks/contrib/pst-graphicx/README b/graphics/pstricks/contrib/pst-graphicx/README
new file mode 100644
index 0000000000..97b6b9eebf
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-graphicx/README
@@ -0,0 +1,13 @@
+%% $Id: README 477 2011-03-13 19:54:00Z herbert $
+
+pst-graphicx allows the use of the LaTeX package graphicx
+together with Plain TeX, e.g.
+
+\input pst-graphicx% also loads the base pstricks.tex
+
+\psframebox[shadow]{\includegraphics[width=5cm]{tiger}}
+\bye
+
+pst-graphicx does't load the package keyval, to prevent
+a package mismatch with xkeyval, which is load by PSTricks.
+
diff --git a/graphics/pstricks/contrib/pst-graphicx/demo.tex b/graphics/pstricks/contrib/pst-graphicx/demo.tex
new file mode 100644
index 0000000000..3b5d9fa857
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-graphicx/demo.tex
@@ -0,0 +1,6 @@
+%% run this file with tex or xetex
+%
+\input pst-graphicx
+% file tiger is part of TeXLive
+\psframebox[shadow]{\includegraphics[width=5cm]{tiger}}
+\bye
diff --git a/graphics/pstricks/contrib/pst-graphicx/pst-graphicx.tex b/graphics/pstricks/contrib/pst-graphicx/pst-graphicx.tex
new file mode 100644
index 0000000000..6daa025044
--- /dev/null
+++ b/graphics/pstricks/contrib/pst-graphicx/pst-graphicx.tex
@@ -0,0 +1,41 @@
+%% $Id: pst-graphicx.tex 477 2011-03-13 19:54:00Z herbert $
+%%
+%% This is file `pst-graphicx.tex',
+%%
+%% Rolf Niepraschk <Rolf.Niepraschk@gmx.de>
+%% Herbert Voss <hvoss@tug.org>
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN archives
+%% in directory macros/latex/base/lppl.txt.
+%%
+%% DESCRIPTION:
+%% `pst-graphicx' is a PSTricks package to allow using miniltx
+%% with PSTricks for TeX
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Plain TeX interface to graphicx package.
+%
+\def\fileversion{0.02}
+\def\filedate{2011/03/13}
+%
+\ifx\PSTricksLoaded\endinput\else\input pstricks \fi\relax
+\def\pst@XDVIPDFMX{xdvipdfmx}
+\input miniltx
+% More LaTeX-like code
+\def\@onefilewithoptions#1[#2][#3]#4{%
+ \expandafter\ifx\csname ver@#1.#4\endcsname\relax
+ \input #1.#4 %
+ \fi
+}
+\ifx\pstdriver\pst@XDVIPDFMX
+ \def\Gin@driver{xetex.def}
+\else
+ \def\Gin@driver{dvips.def}
+\fi
+\@namedef{ver@keyval.sty}{1999/03/16 PSTricks keyval fake}% prevent loading of keyval
+\input graphicx.sty
+
+\resetatcatcode
+
+\endinput \ No newline at end of file