summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-31 00:45:47 +0000
committerKarl Berry <karl@freefriends.org>2009-01-31 00:45:47 +0000
commitafa0ddded45d19c7c2c4883359e3a26e59ce7a8c (patch)
treed0b0a712067e8d3ab5b8e79a6f72bef247c1ba02 /Master/texmf-dist/tex/latex/pstricks/pstricks.sty
parent9ed0613d8c7efda754589bc5eac54d7193651494 (diff)
pstricks 1.27 (30jan09)
git-svn-id: svn://tug.org/texlive/trunk@12021 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty37
1 files changed, 23 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index cde96b0b08f..e58cadb4825 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -16,7 +16,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pstricks}
- [2008/10/31 v0.39 LaTeX wrapper for `PSTricks' (RN,HV)]
+ [2008/11/26 v0.40 LaTeX wrapper for `PSTricks' (RN,HV)]
%
\def\documentclass{
\edef\@tempa{\jobname.tex }%
@@ -38,14 +38,17 @@
%------------------------------------ PLAIN --------------------------------
\DeclareOption{plain}{%
\ifpst@OldVersion
- \def\psDEBUG[#1]#2{}
- \input{pstricks97.tex}
- \else\input{pstricks.tex}
+ \def\psDEBUG[#1]#2{}%
+ \def\pst@tempa{pstricks97.tex}%
+ \else
+ \def\pst@tempa{pstricks.tex}%
\fi
- \ProvidesFile{pstricks.tex}
- [\filedate\space v\fileversion\space `PSTricks' (tvz)]
+ \input{\pst@tempa}%
+ \ProvidesFile{\pst@tempa}%
+ [\filedate\space v\fileversion\space `PSTricks' (tvz)]%
\endinput
}
+
\DeclareOption*{\OptionNotUsed}
\ProcessOptions\relax
@@ -55,13 +58,16 @@
\let\saved@scalebox\scalebox
\ifpst@OldVersion
\def\psDEBUG[#1]#2{}
- \input{pstricks97.tex}
- \else\input{pstricks.tex}\fi
- \ProvidesFile{pstricks.tex}
- [\filedate\space v\fileversion\space `PSTricks' (tvz)]
+ \def\pst@tempa{pstricks97.tex}%
+ \else
+ \def\pst@tempa{pstricks.tex}
+ \fi
+ \input{\pst@tempa}%
+ \ProvidesFile{\pst@tempa}
+ [\filedate\space v\fileversion\space `PSTricks' (tvz,hv)]
\IfFileExists{pstricks.pro}{%
\ProvidesFile{pstricks.pro}
- [2008/01/01 v. 1.03, PostScript prologue file (hv)]
+ [2009/01/30 v. 1.06, PostScript prologue file (hv)]
\@addtofilelist{pstricks.pro}}{}%
\IfFileExists{pst-dots.pro}{%
\ProvidesFile{pst-dots.pro}
@@ -72,25 +78,28 @@
[2008/01/01 v. 0.01, PostScript prologue file (hv)]
\@addtofilelist{pst-algparser.pro}}{}%
{%
- \let\psscalebox=\scalebox
- \let\psscaleboxto=\scaleboxto
+ \let\psscalebox\scalebox
+ \let\psscaleboxto\scaleboxto
}{}
\let\scalebox\saved@scalebox
}{}
\IfFileExists{xcolor.sty}{%
\def\pst@ColorPackage{xcolor}
- \PassOptionsToPackage{override}{xcolor}
+% \PassOptionsToPackage{override}{xcolor}
}{\def\pst@ColorPackage{color}}%
%------------------------------------ DIA --------------------------------
\newif\ifpst@DIA\pst@DIAfalse
\DeclareOption{DIA}{\pst@DIAtrue}
+%------------------------------ color or xcolor --------------------------
\DeclareOption{noxcolor}{\def\pst@ColorPackage{color}}
+%------------------------------------ VTeX --------------------------------
\DeclareOption{vtex}{%
\pst@def{setTransparency}< >
\pst@def{setStrokeTransparency}< >
\pst@def{setBlendmode}< >%
+ \PassOptionsToPackage{vtex}{\pst@ColorPackage}%
}
%---------------------------------DISTILLER --------------------------------
\DeclareOption{distiller}{%