summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pst-pdf
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-07-15 23:20:24 +0000
committerKarl Berry <karl@freefriends.org>2016-07-15 23:20:24 +0000
commit6486ac961b9d7d4428f198b5e88e33c9f459d85f (patch)
tree2bfed077e080e0950d0f740898312f0fb7fab89d /Master/texmf-dist/tex/latex/pst-pdf
parent8a661bd44c6de731f0ac566a5edb8782eddb3461 (diff)
pst-pdf (15jul16)
git-svn-id: svn://tug.org/texlive/trunk@41710 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pst-pdf')
-rw-r--r--Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty27
1 files changed, 13 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty b/Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
index b9e7b76c4a7..05e3e6073c9 100644
--- a/Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
+++ b/Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty
@@ -23,7 +23,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{pst-pdf}
- [2008/10/09 v1.1v PS graphics for pdfLaTeX (RN,HjG)]
+ [2016/07/11 v1.2a PS graphics for pdfLaTeX (RN,HjG)]
\newcommand*\ppf@TeX@mode{-1}
\newcommand*\ppf@draft{false}
\newif\if@ppf@PST@used\@ppf@PST@usedtrue
@@ -45,21 +45,20 @@
\ProcessOptions\relax
\ifnum\ppf@TeX@mode=999\relax\expandafter\endinput\fi
\ifnum\ppf@TeX@mode=-1\relax
- \begingroup
- \chardef\x=0 %
- \@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput\else
- \chardef\x=1 %
- \fi
- }%
- \@ifundefined{OpMode}{}{\chardef\x=2 }%
- \expandafter\endgroup
- \ifcase\x
- \def\ppf@TeX@mode{0}%
- \or
+ \RequirePackage{ifpdf,ifxetex,ifvtex}%
+ \ifpdf
\def\ppf@TeX@mode{1}%
+ \RequirePackage{luatex85}%
\else
- \def\ppf@TeX@mode{9}%
+ \ifvtex
+ \def\ppf@TeX@mode{9}%
+ \else
+ \ifxetex
+ \def\ppf@TeX@mode{9}%
+ \else
+ \def\ppf@TeX@mode{0}%
+ \fi
+ \fi
\fi
\fi
\newcommand*\PDFcontainer{}