texlive[44506] Master/texmf-dist: pstricks (23may17)
commits+karl at tug.org
commits+karl at tug.org
Tue Jun 6 23:54:18 CEST 2017
Revision: 44506
http://tug.org/svn/texlive?view=revision&revision=44506
Author: karl
Date: 2017-06-06 23:54:18 +0200 (Tue, 06 Jun 2017)
Log Message:
-----------
pstricks (23may17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
trunk/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex
trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
Removed Paths:
-------------
trunk/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty
trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news17.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex 2017-06-06 21:53:38 UTC (rev 44505)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pst-fp.tex 2017-06-06 21:54:18 UTC (rev 44506)
@@ -1,4 +1,4 @@
-%% $Id: pst-fp.tex 451 2017-05-11 12:32:06Z herbert $
+%% $Id: pst-fp.tex 465 2017-05-22 17:50:57Z herbert $
%%
%%
%% This is file `pst-fp.tex',
@@ -485,8 +485,8 @@
\fi%
\global\let\pstFP at tmp\pstFP at tmp%
}%
- \pstFPstripZeros\pstFP at tmp{#1}%
-% \let#1\pstFP at tmp%
+% \pstFPstripZeros\pstFP at tmp{#1}%
+ \let#1\pstFP at tmp
}
@@ -582,8 +582,8 @@
\global\let\pstFP at tmp=\pstFP at tmp%
%
}%
- \pstFPstripZeros\pstFP at tmp{#1}%
-% \let#1\pstFP at tmp%
+% \pstFPstripZeros\pstFP at tmp{#1}%
+ \let#1\pstFP at tmp
}
%multiply two values
@@ -707,8 +707,8 @@
\else\typeout{pstFPmul: Overflow}\fi%
\else\typeout{pstFPmul: Overflow}\fi%
\global\let\pstFP at tmp\pstFP at tmp}%
- \pstFPstripZeros\pstFP at tmp{#1}%
-% \let#1\pstFP at tmp%
+% \pstFPstripZeros\pstFP at tmp{#1}%
+ \let#1\pstFP at tmp
}
%
\catcode`\@=\PstAtCode\relax
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2017-06-06 21:53:38 UTC (rev 44505)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2017-06-06 21:54:18 UTC (rev 44506)
@@ -140,8 +140,8 @@
\@ifundefined{pgffor at emptyvalues}{\input pgffor.code.tex}{}
\let\pgfforeach\foreach
%
-\def\fileversion{2.73}
-\def\filedate{2017/05/18}
+\def\fileversion{2.73a}
+\def\filedate{2017/05/22}
\catcode`\@=11\relax
\pst at addfams{pstricks}
%
Deleted: trunk/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty 2017-06-06 21:53:38 UTC (rev 44505)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty 2017-06-06 21:54:18 UTC (rev 44506)
@@ -1,142 +0,0 @@
-% $Id: pst-platform.sty 446 2017-04-19 11:40:55Z herbert $
-%%
-%% This is file `pst-platform.sty',
-%%
-%% Copyright (C) 2017 Herbert Voß <hvoss at tug.org>
-%%
-%% This package may be distributed under the terms of the LaTeX Project
-%% Public License, as described in lppl.txt in the base LaTeX distribution.
-%% Either version 1.0 or, at your option, any later version.
-%%
-\ProvidesPackage{pst-platform}
- [2017/03/17 v0.01 Testing for the operating system, patch for luatex]
-\RequirePackage{shellesc,pdftexcmds,catchfile,ifluatex}
-%%
-% The following code is from ifplatform.sty, it fixes a bug with lualatex
-%%
-\newif\ifshellescape
-\newif\ifwindows
-\newif\ifmacosx
-\newif\iflinux
-\newif\ifcygwin
-\newcommand\windowsname{Windows}
-\newcommand\notwindowsname{*NIX}
-\newcommand\linuxname{Linux}
-\newcommand\macosxname{Mac\,OS\,X}
-\newcommand\cygwinname{Cygwin}
-\newcommand\unknownplatform{[Unknown]}
-\edef\ip at file{\jobname.w18}
-\newif\if at ip@nix@
-\ifnum\pdf at shellescape=1\relax
- \shellescapetrue
-\else
- \ifluatex\else
- \PackageWarningNoLine{ifplatform}{^^J \space\space\space
- shell escape is disabled,
- so I can only detect \@backslashchar ifwindows%
- }
- \fi
-\fi
-\def\ip at cantdecide{%
- \PackageWarningNoLine{ifplatform}{^^J \space\space\space
- I can't tell if this is Windows or *nix;
- you appear to be both%
- }%
-}
-\ifluatex
- \csname\directlua{
- if os.type == "unix" then
- tex.sprint("@ip at nix@true")
- elseif os.type == "windows" then
- tex.sprint("windowstrue")
- end
- }\endcsname
-\else
- \IfFileExists{nul:}{\@ip at nix@false}{\@ip at nix@true}
- \IfFileExists{/dev/null}{\windowsfalse}{\windowstrue}
- \edef\ip at windows@echo at test{echo \string# > "\ip at file"}
- \def\ip at backupplan{%
- \IfFileExists{\ip at file}{%
- \PackageWarningNoLine{ifplatform}{^^J \space\space\space
- Please delete the file "\ip at file" and try again%
- }%
- \ip at cantdecide
- }{%
- \ShellEscape{\ip at windows@echo at test}%
- \IfFileExists{\ip at file}{%
- \ShellEscape{del "\ip at file"}%
- \windowstrue
- }{%
- \@ip at nix@true
- }%
- }%
- }
- \ifwindows
- \if at ip@nix@
- \PackageWarningNoLine{ifplatform}{^^J \space\space\space
- I can't tell if this is Windows or *nix;
- you appear to be neither%
- }
- \fi
- \else
- \if at ip@nix@\else
- \ifshellescape
- \ip at backupplan
- \else
- \ip at cantdecide
- \fi
- \fi
- \fi
- \fi
- \def\ip at only@six#1#2#3#4#5#6#7\@nil{#1#2#3#4#5#6}
- \if at ip@nix@
- \ifshellescape
- \ifwindows\else
- \ShellEscape{uname -s > "\ip at file"}
- \CatchFileDef\@tempa{\ip at file}{}
- \ShellEscape{rm -- "\ip at file"}
- \edef\@tempa{\expandafter\zap at space\@tempa\@empty}
- \def\@tempb{Linux}
- \ifx\@tempa\@tempb
- \linuxtrue
- \else
- \def\@tempb{Darwin}
- \ifx\@tempa\@tempb
- \macosxtrue
- \else
- \def\@tempb{CYGWIN}
- \edef\@tempc{\expandafter\ip at only@six\@tempa------\@nil}
- \ifx\@tempb\@tempc
- \cygwintrue
- \else
- \edef\unknownplatform{\@tempa}
- \fi
- \fi
- \fi
- \fi
-\fi\fi
-\edef\platformname{%
- \ifwindows
- \noexpand\windowsname
- \else
- \ifshellescape
- \iflinux
- \noexpand\linuxname
- \else
- \ifmacosx
- \noexpand\macosxname
- \else
- \ifcygwin
- \noexpand\cygwinname
- \else
- \noexpand\unknownplatform
- \fi
- \fi
- \fi
- \else
- \noexpand\notwindowsname
- \fi
- \fi
-}
-%%
-%% End of file `pst-platform.sty'.
Deleted: trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty 2017-06-06 21:53:38 UTC (rev 44505)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty 2017-06-06 21:54:18 UTC (rev 44506)
@@ -1,179 +0,0 @@
-% $Id: pstricks-pdf.sty 446 2017-04-19 11:40:55Z herbert $
-%%
-%% This is file `pstricks-pdf.sty'.
-%%
-%% IMPORTANT NOTICE:
-%%
-%% pstricks-pdf.sty Copyright (C) 2017 Herbert Voss <hvoss at tug.org>
-%%
-%% This package may be distributed under the terms of the LaTeX Project
-%% Public License, as described in lppl.txt in the base LaTeX distribution.
-%% Either version 1.0 or, at your option, any later version.
-%%
-
-\NeedsTeXFormat{LaTeX2e}
-
-\ProvidesPackage{pstricks-pdf}[2017/03/17 v0.01 creating pdf output (HV)]
-%
-\RequirePackage{ifpdf,xkeyval,pst-platform,ifluatex,ifxetex}
-
-\newif\if at app@off@
-\newif\if at app@crop@
-\newcounter{app at runs}
-\def\app at suffix{autopp}
-\edef\app at jobname{\jobname-\app at suffix}
-\edef\app at pics{\jobname-pics.pdf}
-
-%%%
-% the following code is adapted from auto-pst-pdf
-%%%
-\DeclareOptionX{off}[]{\@app at off@true}
-\define at choicekey{pstricks-pdf.sty}{crop}[\@tempa\@tempb]{on,off}{%
- \ifcase\@tempb\relax
- \@app at crop@true
- \or
- \@app at crop@false
- \fi}
-\DeclareOptionX{on}[]{\@app at off@false}
-\DeclareOptionX{ext}{\def\app at ext{#1}}
-\DeclareOptionX{latex}{%
- \def\app at latex@opts{%
- \ifwindows
- -disable-write18
- \else
- -no-shell-escape
- \fi
- -jobname="\app at jobname"
- -interaction=batchmode
- #1}}
-\DeclareOptionX{dvips}{\def\app at dvips@opts{#1}}
-\DeclareOptionX{pspdf}{\def\app at pspdf@opts{#1}}
-\def\app at pdfcrop@opts{--hres}%%% hv 20130405
-\DeclareOptionX{pdfcrop}{\def\app at pdfcrop@opts{#1}}
-
-\DeclareOptionX{cleanup}{%
- \let\app at rm@files\@empty
- \@for\@ii:=#1\do{%
- \edef\app at rm@files{\app at rm@files,\app at jobname.\@ii}}}
-
-\DeclareOptionX{runs}{%
- \setcounter{app at runs}{#1}% support calc
- \ifnum\c at app@runs > \z@
- \else
- \app at PackageWarning{The number of runs must be at least one.}%
- \c at app@runs\@ne
- \fi}
-
-\DeclareOptionX*{%
- \PassOptionsToPackage{prologue}{xcolor}% to get named colors into the ps file
- \PassOptionsToPackage\CurrentOption{pstricks}%
- \PassOptionsToPackage\CurrentOption{pst-pdf}%
-}
-
-\ExecuteOptionsX{%
- ext=tex,
- crop=on,
- latex={},
- dvips={-Ppdf},
- pdfcrop={},
- cleanup={log,aux,dvi,ps,pdf},
- runs=1
-}
-\ifwindows
- \ExecuteOptionsX{pspdf={}}
-\else
- \ExecuteOptionsX{pspdf={-dAutoRotatePages=/None}}
-\fi
-%
-\ProcessOptionsX\relax
-%
-\ifxetex\@app at off@true\fi
-%
-\def\app at nl{^^J\space\space\space\space}
-\newcommand\app at PackageError[2]{\PackageError{pstricks-pdf}{\app at nl #1^^J}{#2}}
-\newcommand\app at PackageWarning[1]{%
- \PackageWarning{pstricks-pdf}{\app at nl #1^^JThis warning occured}}
-\newcommand\app at PackageInfo[1]{\PackageInfo{pstricks-pdf}{#1}}
-\newcommand\OnlyIfFileExists[2]{\IfFileExists{#1}{#2}{}}
-\newcommand\NotIfFileExists[2]{\IfFileExists{#1}{}{#2}}
-\def\app at convert#1#2#3{%
- \OnlyIfFileExists{#2}{%
-% \expandafter\typeout\expandafter{\csname app at cmd@#1\endcsname}%
- \typeout{filenameIN: #2}%
- \typeout{filenameOUT: #3}%
- \ShellEscape{\csname app at cmd@#1\endcsname{#2}{#3}}%
- \NotIfFileExists{#3}{\app at PackageWarning{Creation of #3 failed.}}}}
-\def\app at compile{%
- \app at cleanup
- \app at remove@container
- \loop\ifnum\c at app@runs > \@ne
- \app at convert{extralatex}{\jobname.\app at ext}{}%
- \advance\c at app@runs\m at ne
- \repeat
- \app at convert{latex}{\jobname.\app at ext}{}%
- \ifxetex\else
- \app at convert{dvips}{\app at jobname.dvi}{\app at jobname.ps}%
- \fi
- \if at app@crop@
- \ifxetex\else
- \app at convert{pstopdf}{\app at jobname.ps}{\app at jobname.pdf}%
- \fi
- \app at convert{pdfcrop}{\app at jobname.pdf}{\app at pics}%
- \else
- \ifxetex\else
- \app at convert{pstopdf}{\app at jobname.ps}{\app at pics}%
- \fi
- \fi
- \IfFileExists{\app at pics}
- {\app at cleanup}
- {\app at PackageWarning{Could not create \app at pics.
- Auxiliary files not deleted.}}}
-\edef\app at rm{\ifwindows del \else rm -- \fi}
-\newcommand\app at try@rm[1]{%
- \@for\@tempa:=#1\do{%
- \OnlyIfFileExists{\@tempa}{\ShellEscape{\app at rm "\@tempa"}}}}
-\def\app at remove@container{\app at try@rm{\app at pics}}
-\def\app at cleanup{\app at try@rm{\app at rm@files}}
-\ifluatex
-% \def\app at cmd@latex#1#2{lualatex --output-format=dvi \app at latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"}
-% \def\app at cmd@extralatex#1#2{lualatex --output-format=dvi \app at latex@opts\space "\unexpanded{\let\APPmakepictures\undefined\input} #1"}
- \def\app at cmd@latex#1#2{xelatex \app at latex@opts\space "\unexpanded{\AtBeginDocument{\pagestyle{empty}}\let\APPmakepictures\empty\input} #1"}
- \def\app at cmd@extralatex#1#2{xelatex \app at latex@opts\space "\unexpanded{\AtBeginDocument{\pagestyle{empty}}\let\APPmakepictures\undefined\input} #1"}
-\else
- \def\app at cmd@latex#1#2{latex \app at latex@opts\space "\unexpanded{\let\APPmakepictures\empty\input} #1"}
- \def\app at cmd@extralatex#1#2{\@app at prog\space \app at latex@opts\space "\unexpanded{\let\APPmakepictures\undefined\input} #1"}
- \def\app at cmd@dvips#1#2{dvips \app at dvips@opts\space -o "#2" "#1"}
- \def\app at cmd@pstopdf#1#2{ps2pdf \app at pspdf@opts\space "#1" "#2"}
-\fi
-\def\app at cmd@pdfcrop#1#2{pdfcrop \app at pdfcrop@opts\space "#1" "#2"}
-\ifpdf
- \if at app@off@\else
- \ShellEscape{echo " "}
- \ShellEscape{echo "-------------------------------------------------"}
- \ShellEscape{echo "pstricks-pdf: Auxiliary LaTeX compilation"}
- \ShellEscape{echo "-------------------------------------------------"}
- \app at compile
- \ShellEscape{echo "-------------------------------------------------"}
- \ShellEscape{echo "pstricks-pdf: End auxiliary LaTeX compilation"}
- \ShellEscape{echo "-------------------------------------------------"}
- \fi
- \if at app@crop@
- \PassOptionsToPackage{notightpage}{pst-pdf}
- \fi
-\else
- \ifx\APPmakepictures\@undefined
- \PassOptionsToPackage{inactive}{pst-pdf}
- \else
- \if at app@crop@
- \PassOptionsToPackage{notightpage}{pst-pdf}
- \fi
- \fi
-\fi
-\RequirePackage{pst-pdf}
-\RequirePackage{pstricks}
-\@ifclassloaded{beamer}{\setbeamertemplate{navigation symbols}}{}%
-%
-\let\app at ig\includegraphics
-%
-%%
-%% End of file `pstricks-pdf.sty'.
More information about the tex-live-commits
mailing list