summaryrefslogtreecommitdiff
path: root/Master
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
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')
-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
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check3
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
-rw-r--r--Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/pst-graphicx.tlpsrc0
8 files changed, 71 insertions, 1 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
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 381f35cfd3e..e89b6465228 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -281,7 +281,8 @@ my @TLP_working = qw(
pst-calendar pst-circ pst-coil pst-cox pst-dbicons pst-diffraction
pst-electricfield pst-eps pst-eucl pst-eucl-translation-bg pst-exa
pst-fill pst-fr3d pst-fractal pst-fun pst-func
- pst-gantt pst-geo pst-grad pst-infixplot pst-jtree pst-knot pst-labo
+ pst-gantt pst-geo pst-grad pst-graphicx
+ pst-infixplot pst-jtree pst-knot pst-labo
pst-lens pst-light3d pst-magneticfield pst-math pst-mirror pst-node
pst-ob3d pst-optexp pst-optic
pst-osci pst-pad pst-pdgr pst-platon pst-plot pst-poly pst-pdf
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index a8e0a2cf52f..a810b4229f5 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -629,6 +629,7 @@ $Master = "$mydir/../..";
'pst-gantt', "&MAKEpst",
'pst-geo', "&MAKEpst",
'pst-geo-compress', "die 'skipping, in pst-geo, check with hvoss'",
+ 'pst-graphicx',"&MAKEpst",
'pst-ghsb', "&MAKEpst",
'pst-gr3d', "&MAKEpst",
'pst-grad', "&MAKEpst",
diff --git a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
index f4c509133b6..2e2b6e0a71c 100644
--- a/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-pstricks.tlpsrc
@@ -36,6 +36,7 @@ depend pst-geo
depend pst-ghsb
depend pst-gr3d
depend pst-grad
+depend pst-graphicx
depend pst-infixplot
depend pst-jtree
depend pst-knot
diff --git a/Master/tlpkg/tlpsrc/pst-graphicx.tlpsrc b/Master/tlpkg/tlpsrc/pst-graphicx.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/pst-graphicx.tlpsrc