summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-14 23:46:00 +0000
committerKarl Berry <karl@freefriends.org>2011-03-14 23:46:00 +0000
commitd980716bc89bab2b7f24b09b2bb715bed210bb1c (patch)
tree993a41d7a752bcac3e72da36e4e4fc2f9d0a75ab /Master/texmf-dist
parent7a3496f52bec1e6180c3cb18503b4038b2d89735 (diff)
new pstricks package pst-graphicx (13mar11)
git-svn-id: svn://tug.org/texlive/trunk@21717 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pst-graphicx/Changes7
-rw-r--r--Master/texmf-dist/doc/generic/pst-graphicx/README13
-rw-r--r--Master/texmf-dist/doc/generic/pst-graphicx/demo.tex6
-rw-r--r--Master/texmf-dist/tex/generic/pst-graphicx/pst-graphicx.tex41
4 files changed, 67 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-graphicx/Changes b/Master/texmf-dist/doc/generic/pst-graphicx/Changes
new file mode 100644
index 00000000000..f6c2f3c4864
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/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/Master/texmf-dist/doc/generic/pst-graphicx/README b/Master/texmf-dist/doc/generic/pst-graphicx/README
new file mode 100644
index 00000000000..97b6b9eebf7
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/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/Master/texmf-dist/doc/generic/pst-graphicx/demo.tex b/Master/texmf-dist/doc/generic/pst-graphicx/demo.tex
new file mode 100644
index 00000000000..3b5d9fa8576
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/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/Master/texmf-dist/tex/generic/pst-graphicx/pst-graphicx.tex b/Master/texmf-dist/tex/generic/pst-graphicx/pst-graphicx.tex
new file mode 100644
index 00000000000..6daa0250447
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/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