diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-pdf/pst-pdf.sty | 27 |
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{} |