diff options
author | Karl Berry <karl@freefriends.org> | 2017-04-19 22:28:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-04-19 22:28:49 +0000 |
commit | 9984a4c934ec6789ba3c4028c8c5e68319ddfa69 (patch) | |
tree | 3c9bc2e3481f687023ace33aa2880f4ecd721a3e /Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty | |
parent | 3a9287fa11f45b4b6b0696f26c2a9d8f602c794e (diff) |
pstricks (19apr17)
git-svn-id: svn://tug.org/texlive/trunk@43929 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty index 71e462a98d6..c363a62f801 100644 --- a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty +++ b/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty @@ -1,3 +1,4 @@ +% $Id: pstricks-pdf.sty 446 2017-04-19 11:40:55Z herbert $ %% %% This is file `pstricks-pdf.sty'. %% @@ -12,7 +13,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pstricks-pdf}[2015/11/11 v0.01 wrapper for `pstricks.sty' (HV)] +\ProvidesPackage{pstricks-pdf}[2017/03/17 v0.01 creating pdf output (HV)] % \RequirePackage{ifpdf,xkeyval,pst-platform,ifluatex,ifxetex} @@ -110,12 +111,18 @@ \advance\c@app@runs\m@ne \repeat \app@convert{latex}{\jobname.\app@ext}{}% - \app@convert{dvips}{\app@jobname.dvi}{\app@jobname.ps}% + \ifxetex\else + \app@convert{dvips}{\app@jobname.dvi}{\app@jobname.ps}% + \fi \if@app@crop@ - \app@convert{pstopdf}{\app@jobname.ps}{\app@jobname.pdf}% + \ifxetex\else + \app@convert{pstopdf}{\app@jobname.ps}{\app@jobname.pdf}% + \fi \app@convert{pdfcrop}{\app@jobname.pdf}{\app@pics}% \else - \app@convert{pstopdf}{\app@jobname.ps}{\app@pics}% + \ifxetex\else + \app@convert{pstopdf}{\app@jobname.ps}{\app@pics}% + \fi \fi \IfFileExists{\app@pics} {\app@cleanup} @@ -128,14 +135,16 @@ \def\app@remove@container{\app@try@rm{\app@pics}} \def\app@cleanup{\app@try@rm{\app@rm@files}} \ifluatex - \def\app@cmd@latex#1#2{lualatex --output-format=dvi \app@latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"} - \def\app@cmd@extralatex#1#2{lualatex --output-format=dvi \app@latex@opts\space "\unexpanded{\let\APPmakepictures\undefined\input} #1"} +% \def\app@cmd@latex#1#2{lualatex --output-format=dvi \app@latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"} +% \def\app@cmd@extralatex#1#2{lualatex --output-format=dvi \app@latex@opts\space "\unexpanded{\let\APPmakepictures\undefined\input} #1"} + \def\app@cmd@latex#1#2{xelatex \app@latex@opts\space "\unexpanded{\AtBeginDocument{\pagestyle{empty}}\let\APPmakepictures\empty\input} #1"} + \def\app@cmd@extralatex#1#2{xelatex \app@latex@opts\space "\unexpanded{\AtBeginDocument{\pagestyle{empty}}\let\APPmakepictures\undefined\input} #1"} \else \def\app@cmd@latex#1#2{latex \app@latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"} \def\app@cmd@extralatex#1#2{\@app@prog\space \app@latex@opts\space "\unexpanded{\let\APPmakepictures\undefined\input} #1"} + \def\app@cmd@dvips#1#2{dvips \app@dvips@opts\space -o "#2" "#1"} + \def\app@cmd@pstopdf#1#2{ps2pdf \app@pspdf@opts\space "#1" "#2"} \fi -\def\app@cmd@dvips#1#2{dvips \app@dvips@opts\space -o "#2" "#1"} -\def\app@cmd@pstopdf#1#2{ps2pdf \app@pspdf@opts\space "#1" "#2"} \def\app@cmd@pdfcrop#1#2{pdfcrop \app@pdfcrop@opts\space "#1" "#2"} \ifpdf \if@app@off@\else |