diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-doc.cls | 12 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pst-platform.sty | 142 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty | 179 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 14 |
5 files changed, 25 insertions, 340 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 14d9d975188..8232b1a2872 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -1,8 +1,8 @@ -%% $Id: pstricks.tex 700 2018-01-01 14:21:06Z herbert $ +%% $Id: pstricks.tex 702 2018-01-06 08:43:54Z herbert $ %% pstricks.tex %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. %% COPYRIGHT 2000-2003 by Denis Girou. -%% Copyright 2004-2017 Herbert Voss +%% Copyright 2004-2018 Herbert Voss % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -78,8 +78,8 @@ \fi \let\pgfforeach\foreach % -\def\fileversion{2.81} -\def\filedate{2018/01/01} +\def\fileversion{2.82} +\def\filedate{2018/01/06} \pst@addfams{pstricks} % %\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{} @@ -179,7 +179,7 @@ } \def\pshskip#1{\vrule \@width\z@\nobreak \hskip #1\hskip \z@skip} % end bugfix -\typeout{`PSTricks' v\fileversion\space\space <\filedate> (tvz)} +\typeout{`PSTricks' v\fileversion\space\space <\filedate> (tvz,hv)} \def\@pstrickserr#1#2{% \begingroup \newlinechar`\^^J @@ -3784,14 +3784,18 @@ pop \def\psRing@iii[#1,#2]#3#4{% origin, inner radius, outer radius \begin@ClosedObj \pssetlength\pst@dimc{#3}% + \edef\pst@tempA{\ifPst@SpecialLength \pst@SpecialLength \else \pst@number\pst@dimc \fi}% \pssetlength\pst@dimd{#4}% + \edef\pst@tempB{\ifPst@SpecialLength \pst@SpecialLength \else \pst@number\pst@dimd \fi}% \pst@getangle{#1}\pst@tempa \pst@getangle{#2}\pst@tempb \def\pst@linetype{4}% \addto@pscode{ \pst@coor translate - \pst@number\pst@dimc \psk@dimen CLW mul sub /InnerRadius ED - \pst@number\pst@dimd \psk@dimen CLW mul sub /OuterRadius ED +% \pst@number\pst@dimc \psk@dimen CLW mul sub /InnerRadius ED +% \pst@number\pst@dimd \psk@dimen CLW mul sub /OuterRadius ED + \pst@tempA\space \psk@dimen CLW mul sub /InnerRadius ED + \pst@tempB\space \psk@dimen CLW mul sub /OuterRadius ED InnerRadius 0 moveto newpath 0 0 InnerRadius \pst@tempa\space \pst@tempb\space arc OuterRadius \pst@tempb\space PtoC diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls index 15f71fd95b5..526e5aade0c 100644 --- a/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls +++ b/Master/texmf-dist/tex/latex/pstricks/pst-doc.cls @@ -1,4 +1,4 @@ -% $Id: pst-doc.cls 444 2017-04-19 10:55:35Z herbert $ +% $Id: pst-doc.cls 680 2017-12-05 12:22:55Z herbert $ % %% %% The PSTricks Project @@ -26,8 +26,8 @@ \RequirePackage{amsmath, amssymb} \ifxetex \usepackage{unicode-math} - \usepackage{libertinus} - \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{Anonymous Pro} + \usepackage{libertinus-otf} + \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{DejaVu Sans Mono} \setmathfont{XITS Math} \else \RequirePackage[T1]{fontenc} @@ -35,6 +35,7 @@ %\RequirePackage[euler-digits]{eulervm} \RequirePackage{bera} %\RequirePackage[scaled=0.85]{luximono} + \RequirePackage[utf8]{inputenc} \fi \usepackage[includeheadfoot,lmargin=2cm,tmargin=1cm,bmargin=1.5cm,rmargin=1.5cm]{geometry} \RequirePackage{ifpdf} @@ -56,7 +57,7 @@ \pagenumbering{roman}} }{} \@ifundefined{mainmatter}{% - % scrpage2 benoetigt den folgenden switch + % scrpage benoetigt den folgenden switch % wenn \mainmatter definiert ist. \newif\if@mainmatter\@mainmattertrue \newcommand{\mainmatter}{% @@ -102,6 +103,7 @@ \RequirePackage{subfig} \RequirePackage{setspace} \RequirePackage{paralist} +\RequirePackage{biblatex} % \RequirePackage{fancyvrb} \newenvironment{Xverbatim}[2][]% @@ -190,7 +192,7 @@ xleftmargin=0pt,xrightmargin=0pt, \colorlet{pdffilecolor}{DOrange} \colorlet{stringcolor}{green!40!black!100} \colorlet{commencolor}{blue!0!black!100} -\RequirePackage[automark,nouppercase]{scrpage2} +\RequirePackage[automark]{scrlayer-scrpage} \pagestyle{scrheadings} \clearscrheadings diff --git a/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty b/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty deleted file mode 100644 index a1bde247b6b..00000000000 --- a/Master/texmf-dist/tex/latex/pstricks/pst-platform.sty +++ /dev/null @@ -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@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@file{\jobname.w18} -\newif\if@ip@nix@ -\ifnum\pdf@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@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@nix@true") - elseif os.type == "windows" then - tex.sprint("windowstrue") - end - }\endcsname -\else - \IfFileExists{nul:}{\@ip@nix@false}{\@ip@nix@true} - \IfFileExists{/dev/null}{\windowsfalse}{\windowstrue} - \edef\ip@windows@echo@test{echo \string# > "\ip@file"} - \def\ip@backupplan{% - \IfFileExists{\ip@file}{% - \PackageWarningNoLine{ifplatform}{^^J \space\space\space - Please delete the file "\ip@file" and try again% - }% - \ip@cantdecide - }{% - \ShellEscape{\ip@windows@echo@test}% - \IfFileExists{\ip@file}{% - \ShellEscape{del "\ip@file"}% - \windowstrue - }{% - \@ip@nix@true - }% - }% - } - \ifwindows - \if@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@ip@nix@\else - \ifshellescape - \ip@backupplan - \else - \ip@cantdecide - \fi - \fi - \fi - \fi - \def\ip@only@six#1#2#3#4#5#6#7\@nil{#1#2#3#4#5#6} - \if@ip@nix@ - \ifshellescape - \ifwindows\else - \ShellEscape{uname -s > "\ip@file"} - \CatchFileDef\@tempa{\ip@file}{} - \ShellEscape{rm -- "\ip@file"} - \edef\@tempa{\expandafter\zap@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@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'. diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty deleted file mode 100644 index c363a62f801..00000000000 --- a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty +++ /dev/null @@ -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@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@app@off@ -\newif\if@app@crop@ -\newcounter{app@runs} -\def\app@suffix{autopp} -\edef\app@jobname{\jobname-\app@suffix} -\edef\app@pics{\jobname-pics.pdf} - -%%% -% the following code is adapted from auto-pst-pdf -%%% -\DeclareOptionX{off}[]{\@app@off@true} -\define@choicekey{pstricks-pdf.sty}{crop}[\@tempa\@tempb]{on,off}{% - \ifcase\@tempb\relax - \@app@crop@true - \or - \@app@crop@false - \fi} -\DeclareOptionX{on}[]{\@app@off@false} -\DeclareOptionX{ext}{\def\app@ext{#1}} -\DeclareOptionX{latex}{% - \def\app@latex@opts{% - \ifwindows - -disable-write18 - \else - -no-shell-escape - \fi - -jobname="\app@jobname" - -interaction=batchmode - #1}} -\DeclareOptionX{dvips}{\def\app@dvips@opts{#1}} -\DeclareOptionX{pspdf}{\def\app@pspdf@opts{#1}} -\def\app@pdfcrop@opts{--hres}%%% hv 20130405 -\DeclareOptionX{pdfcrop}{\def\app@pdfcrop@opts{#1}} - -\DeclareOptionX{cleanup}{% - \let\app@rm@files\@empty - \@for\@ii:=#1\do{% - \edef\app@rm@files{\app@rm@files,\app@jobname.\@ii}}} - -\DeclareOptionX{runs}{% - \setcounter{app@runs}{#1}% support calc - \ifnum\c@app@runs > \z@ - \else - \app@PackageWarning{The number of runs must be at least one.}% - \c@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@off@true\fi -% -\def\app@nl{^^J\space\space\space\space} -\newcommand\app@PackageError[2]{\PackageError{pstricks-pdf}{\app@nl #1^^J}{#2}} -\newcommand\app@PackageWarning[1]{% - \PackageWarning{pstricks-pdf}{\app@nl #1^^JThis warning occured}} -\newcommand\app@PackageInfo[1]{\PackageInfo{pstricks-pdf}{#1}} -\newcommand\OnlyIfFileExists[2]{\IfFileExists{#1}{#2}{}} -\newcommand\NotIfFileExists[2]{\IfFileExists{#1}{}{#2}} -\def\app@convert#1#2#3{% - \OnlyIfFileExists{#2}{% -% \expandafter\typeout\expandafter{\csname app@cmd@#1\endcsname}% - \typeout{filenameIN: #2}% - \typeout{filenameOUT: #3}% - \ShellEscape{\csname app@cmd@#1\endcsname{#2}{#3}}% - \NotIfFileExists{#3}{\app@PackageWarning{Creation of #3 failed.}}}} -\def\app@compile{% - \app@cleanup - \app@remove@container - \loop\ifnum\c@app@runs > \@ne - \app@convert{extralatex}{\jobname.\app@ext}{}% - \advance\c@app@runs\m@ne - \repeat - \app@convert{latex}{\jobname.\app@ext}{}% - \ifxetex\else - \app@convert{dvips}{\app@jobname.dvi}{\app@jobname.ps}% - \fi - \if@app@crop@ - \ifxetex\else - \app@convert{pstopdf}{\app@jobname.ps}{\app@jobname.pdf}% - \fi - \app@convert{pdfcrop}{\app@jobname.pdf}{\app@pics}% - \else - \ifxetex\else - \app@convert{pstopdf}{\app@jobname.ps}{\app@pics}% - \fi - \fi - \IfFileExists{\app@pics} - {\app@cleanup} - {\app@PackageWarning{Could not create \app@pics. - Auxiliary files not deleted.}}} -\edef\app@rm{\ifwindows del \else rm -- \fi} -\newcommand\app@try@rm[1]{% - \@for\@tempa:=#1\do{% - \OnlyIfFileExists{\@tempa}{\ShellEscape{\app@rm "\@tempa"}}}} -\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{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@pdfcrop#1#2{pdfcrop \app@pdfcrop@opts\space "#1" "#2"} -\ifpdf - \if@app@off@\else - \ShellEscape{echo " "} - \ShellEscape{echo "-------------------------------------------------"} - \ShellEscape{echo "pstricks-pdf: Auxiliary LaTeX compilation"} - \ShellEscape{echo "-------------------------------------------------"} - \app@compile - \ShellEscape{echo "-------------------------------------------------"} - \ShellEscape{echo "pstricks-pdf: End auxiliary LaTeX compilation"} - \ShellEscape{echo "-------------------------------------------------"} - \fi - \if@app@crop@ - \PassOptionsToPackage{notightpage}{pst-pdf} - \fi -\else - \ifx\APPmakepictures\@undefined - \PassOptionsToPackage{inactive}{pst-pdf} - \else - \if@app@crop@ - \PassOptionsToPackage{notightpage}{pst-pdf} - \fi - \fi -\fi -\RequirePackage{pst-pdf} -\RequirePackage{pstricks} -\@ifclassloaded{beamer}{\setbeamertemplate{navigation symbols}}{}% -% -\let\app@ig\includegraphics -% -%% -%% End of file `pstricks-pdf.sty'. diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty index fddb37756c0..bebc8480004 100644 --- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty +++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty @@ -8,7 +8,7 @@ %% pstcol.sty Copyright (C) 1994-1996 1999 David Carlisle %% pstricks.sty Copyright (C) 2004-2016 Rolf Niepraschk <Rolf.Niepraschk@gmx.de> %% Herbert Voss <hvoss@tug.org> -%% 2017- Herbert Voss <hvoss@tug.org> +%% 2018- Herbert Voss <hvoss@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. @@ -17,7 +17,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pstricks}[2017/11/27 v0.66 LaTeX wrapper for `PSTricks' (RN,HV)] +\ProvidesPackage{pstricks}[2018/01/06 v0.67 LaTeX wrapper for `PSTricks' (RN,HV)] % \def\documentclass{% \edef\@tempa{\jobname.tex }% @@ -37,16 +37,16 @@ \def\pst@ColorPackage{xcolor} \DeclareOption{noxcolor}{\def\pst@ColorPackage{color}} % -%---------------------------------DISTILLER -------------------------------- -\newif\ifpst@distiller\pst@distillerfalse \newif\ifpst@psfonts \pst@psfontsfalse \newif\if@check@engine \@check@enginetrue -\DeclareOption{distiller}{\pst@distillertrue\pst@psfontstrue} -% + \DeclareOption{psfonts}{\pst@psfontstrue} -% \DeclareOption{noEngineCheck}{\@check@enginefalse} % +%---------------------------------DISTILLER -------------------------------- +\newif\ifpst@distiller\pst@distillerfalse +\DeclareOption{distiller}{\pst@distillertrue\pst@psfontstrue} +% %---------------------------------COLOR -------------------------------- \DeclareOption{monochrome}{% \AtBeginDocument{\special{ps: |