summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-10-22 23:54:17 +0000
committerKarl Berry <karl@freefriends.org>2013-10-22 23:54:17 +0000
commit2245beb21ba2d7c9658279dcbcdba4494bfaef18 (patch)
treef5423f45ba0d398b7a8005db47fd8bed2eb8780f /Master/texmf-dist/tex/latex/pstricks
parentbf02d931996c41df96e6ee5fa5c44160a0bb77e6 (diff)
pstricks
git-svn-id: svn://tug.org/texlive/trunk@31964 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty37
1 files changed, 18 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index aabf143beb2..ca6c42fec94 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -15,7 +15,7 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pstricks}[2013/10/20 v0.58 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2013/10/21 v0.59 LaTeX wrapper for `PSTricks' (RN,HV)]
%
\def\documentclass{%
\edef\@tempa{\jobname.tex }%
@@ -34,10 +34,12 @@
%
\newif\ifpst@OldVersion\pst@OldVersionfalse
\DeclareOption{97}{\pst@OldVersiontrue}
-\newif\ifpst@ovl\pst@ovlfalse
+%
+\newif\ifpst@ovl \pst@ovlfalse
\DeclareOption{overlays}{\global\pst@ovltrue}
-\newif\ifpst@PDF\pst@PDFfalse
-\DeclareOption{pdf}{\global\pst@PDFtrue}
+%
+\newif\ifpst@loadPDF \pst@loadPDFfalse
+\DeclareOption{pdf}{\global\pst@loadPDFtrue}
%------------------------------------ PLAIN --------------------------------
\DeclareOption{plain}{%
\ifpst@OldVersion
@@ -50,19 +52,14 @@
\ProvidesFile{\pst@tempa}[\filedate\space v\fileversion\space `PSTricks' (tvz)]%
\endinput
}
-
+%
\DeclareOption*{\OptionNotUsed}
-
+%
\ProcessOptions\relax
-
-\ifpst@PDF
- \@ifclassloaded{beamer}%
- {\typeout{>>> Loading package auto-pst-pdf for beamer <<<}%
- \AtEndOfPackage{\RequirePackage{auto-pst-pdf}}
- \ifpdf\else\setbeamertemplate{navigation symbols}{}\fi}%
- {\typeout{>>> Loading package auto-pst-pdf <<<}%
- \AtBeginDocument{\usepackage{auto-pst-pdf}}}%
- \def\app@pdfcrop@opts{--hres}%%% hv 20130405
+%
+\RequirePackage{ifpdf}
+%
+\ifpst@loadPDF
\ifnum\pdfshellescape=\@ne\else
\PackageWarningNoLine{pstricks}{%
************************************ \MessageBreak
@@ -71,12 +68,14 @@
(if you are using MikTeX) \MessageBreak
************************************}
\fi
+ \def\app@pdfcrop@opts{--hres}%%% hv 20130405
+ \@ifclassloaded{beamer}{%
+ \ifpdf \else\setbeamertemplate{navigation symbols}{} \fi
+ \AtEndOfPackage{\RequirePackage{auto-pst-pdf}}}
+ {\AtBeginDocument{\usepackage{auto-pst-pdf}}}
\fi
%
-\ifpst@ovl
- \typeout{>>> Loading package pst-ovl <<<}%
- \RequirePackage{pst-ovl}
-\fi
+\ifpst@ovl \RequirePackage{pst-ovl}\fi
%
\@ifundefined{PSTricksLoaded}
{%