summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index 81881b240a6..2afb9f5e503 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -55,8 +55,10 @@
\ProcessOptions\relax
\ifpst@PDF
- \typeout{>>> Loading package auto-pst-pdf <<<}
- \AtBeginDocument{\usepackage{auto-pst-pdf}}%
+ \typeout{>>> Loading package auto-pst-pdf <<<}%
+ \@ifclassloaded{beamer}%
+ {\usepackage{auto-pst-pdf}}%
+ {\AtBeginDocument{\usepackage{auto-pst-pdf}}}%
\ifnum\pdfshellescape=\@ne\else
\PackageWarningNoLine{pstricks}{%
************************************ \MessageBreak
@@ -94,7 +96,7 @@
[\filedate\space v\fileversion\space `PST-fp' (hv)]
\IfFileExists{pstricks.pro}{%
\ProvidesFile{pstricks.pro}
- [2012/08/24 v. 1.15, PostScript prologue file (hv)]
+ [2012/10/16 v. 1.15, PostScript prologue file (hv)]
\@addtofilelist{pstricks.pro}}{}%
\IfFileExists{pst-algparser.pro}{%
\ProvidesFile{pst-algparser.pro}