diff options
author | Norbert Preining <norbert@preining.info> | 2021-09-07 03:03:54 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-09-07 03:03:54 +0000 |
commit | a7ef56f18421a8ffb9d34c16ff9f017e45e4e6d3 (patch) | |
tree | 7e5c6afbefbbbf312f0d8db33fd0884924a5f227 /graphics/pstricks/base | |
parent | b63aa636b82853ca4885c1e90c619cdbcfa72730 (diff) |
CTAN sync 202109070303
Diffstat (limited to 'graphics/pstricks/base')
38 files changed, 187 insertions, 589 deletions
diff --git a/graphics/pstricks/base/Changes b/graphics/pstricks/base/Changes index f1e6919c62..fc78f86512 100644 --- a/graphics/pstricks/base/Changes +++ b/graphics/pstricks/base/Changes @@ -1,4 +1,4 @@ -% $Id: Changes 166 2021-08-26 19:52:16Z herbert $ +% $Id: Changes 191 2021-09-05 20:07:31Z herbert $ Changelog for @@ -25,6 +25,16 @@ pstricks.tex -------- versions like 2.47a have only changes in other files, but not in this main package. +3.07 2021-09-05 - fix for vee arrows in pstricks-arrows + - with optional argument "gsfonts" for PSTricks, one + can use GS fonts from URW, like StandardSymL, NimbusRomNo9L-Regu, + NimbusRomNo9L-Bold, ... + Default is using the PS fontnames, like Symbol, Times-Roman, Times-Bold, + Helvetica, Helvetica-Bold, ... + - fixed default setting for linewidth and color + - fix for \pst@rotate and lualatex, which has another y direction + - use ifPSTlualatex for the rotation shortcut definitions + - fix for \pst@rotlist 3.06 2021-08-27 - added support for experimental use of lualatex with luapstricks.lua - enabled .setblendmode again in pstrick.pro 3.05 2021-08-25 - bug fix for Penrose fill style @@ -306,6 +316,7 @@ pst-fp.tex ----------- (hv) xdvipdfmx.con ------ +0.07 2021-09-05 - fix for ps: -> pst: 0.06 2021-08-21 - small changes in the code 0.05 2015-09-11 - move the fix into pstricks.tex 0.04 2015-09-11 - fix bug with wrong scaling for \psput@cartesian @@ -355,6 +366,7 @@ pstricks-doc ----------- ---- pstricks.pro +1.38 2021-09-05 - increase memory for PenroseFill and PenrodeFillA 1.37 2021-08-27 - revert fix for .setblendmode 1.36 2021-08-25 - fix for function Penrose and PenroseA 1.35 2021-08-21 - fix for new version > 9.53 diff --git a/graphics/pstricks/base/config/distiller.cfg b/graphics/pstricks/base/config/distiller.cfg index 9ade331215..db654b14d7 100644 --- a/graphics/pstricks/base/config/distiller.cfg +++ b/graphics/pstricks/base/config/distiller.cfg @@ -1,4 +1,4 @@ -% $Id: distiller.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: distiller.cfg 446 2017-04-19 11:40:55Z herbert $ %% BEGIN: distiller.con (for distiller driver) %% %% Configuration file for PSTricks diff --git a/graphics/pstricks/base/config/dvips.cfg b/graphics/pstricks/base/config/dvips.cfg index f9c5da698e..d9648c1d0a 100644 --- a/graphics/pstricks/base/config/dvips.cfg +++ b/graphics/pstricks/base/config/dvips.cfg @@ -1,4 +1,4 @@ -% $Id: dvips.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: dvips.cfg 797 2018-08-23 18:33:16Z herbert $ %% BEGIN: pstricks.con (for dvips driver) %% %% Configuration file for PSTricks diff --git a/graphics/pstricks/base/config/dvipsone.cfg b/graphics/pstricks/base/config/dvipsone.cfg index bb59975bfa..965e635fd5 100644 --- a/graphics/pstricks/base/config/dvipsone.cfg +++ b/graphics/pstricks/base/config/dvipsone.cfg @@ -1,4 +1,4 @@ -% $Id: dvipsone.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: dvipsone.cfg 446 2017-04-19 11:40:55Z herbert $ %% BEGIN pstricks.con (for DVIPSONE driver) %% %% Configuration file for PSTricks 97: must be renamed `pstricks.con' diff --git a/graphics/pstricks/base/config/gastex.cfg b/graphics/pstricks/base/config/gastex.cfg index f0fe5486cd..b3549c8c56 100644 --- a/graphics/pstricks/base/config/gastex.cfg +++ b/graphics/pstricks/base/config/gastex.cfg @@ -1,4 +1,4 @@ -% $Id: gastex.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: gastex.cfg 446 2017-04-19 11:40:55Z herbert $ %% BEGIN: pstricks.con (for xdvipdfmx driver) %% %% Configuration file for PSTricks diff --git a/graphics/pstricks/base/config/textures.cfg b/graphics/pstricks/base/config/textures.cfg index ef088b5791..48667d3950 100644 --- a/graphics/pstricks/base/config/textures.cfg +++ b/graphics/pstricks/base/config/textures.cfg @@ -1,4 +1,4 @@ -% $Id: textures.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: textures.cfg 446 2017-04-19 11:40:55Z herbert $ %% BEGIN pstricks.con (for Textures 1.7 and 1.8 driver) %% %% Configuration file for PSTricks 97: must be renamed `pstricks.con' diff --git a/graphics/pstricks/base/config/vtex.cfg b/graphics/pstricks/base/config/vtex.cfg index 7cb84c0f9e..e4b7184404 100644 --- a/graphics/pstricks/base/config/vtex.cfg +++ b/graphics/pstricks/base/config/vtex.cfg @@ -1,4 +1,4 @@ -% $Id: vtex.cfg 4 2020-06-09 08:32:19Z herbert $ +% $Id: vtex.cfg 446 2017-04-19 11:40:55Z herbert $ %% BEGIN: pstricks.con (for VTeX) %% %% Configuration file for PSTricks 97 diff --git a/graphics/pstricks/base/config/xdvipdfmx.cfg b/graphics/pstricks/base/config/xdvipdfmx.cfg index 663e342f79..8a0b1f5c34 100644 --- a/graphics/pstricks/base/config/xdvipdfmx.cfg +++ b/graphics/pstricks/base/config/xdvipdfmx.cfg @@ -1,10 +1,10 @@ -% $Id: xdvipdfmx.cfg 158 2021-08-24 06:57:13Z herbert $ +% $Id: xdvipdfmx.cfg 191 2021-09-05 20:07:31Z herbert $ % %% BEGIN: pstricks.con (for dvipdfmx driver) %% %% Configuration file for PSTricks %% -%% Version 0.06 (2021/08/21) +%% Version 0.07 (2021/09/05) %% %% For use with dvipdfmx %% Created by SMiyata based on standard pstricks.con from TeXLive distribution. @@ -12,11 +12,9 @@ %% Modified by Denis Girou, Herbert Voss %% \def\pstdriver{dvipdfmx}% -%%\def\pstverb#1{\special{pst: #1}}% Check catcode of " -\def\pstverb#1{\special{ps: #1}}% Check catcode of " +\def\pstverb#1{\special{pst: #1}}% Check catcode of " \def\pstunit{1bp}% -\def\pstVerb#1{\immediate\special{ps: #1}}% -%\def\pstVerb#1{\immediate\special{PST: #1}}% +\def\pstVerb#1{\immediate\special{PST: #1}}% \def\pstverbscale{72.27 72 div dup scale }% \def\pstnodescale{72 72.27 div dup scale }% % DG/SR modification begin - Apr. 28, 1997 (D. Carlisle + S. Rahtz) diff --git a/graphics/pstricks/base/config/xdvipdfmx.cfg.orig b/graphics/pstricks/base/config/xdvipdfmx.cfg.orig deleted file mode 100644 index 75a596ca35..0000000000 --- a/graphics/pstricks/base/config/xdvipdfmx.cfg.orig +++ /dev/null @@ -1,244 +0,0 @@ -% $Id: xdvipdfmx.cfg 4 2020-06-09 08:32:19Z herbert $ -% -%% BEGIN: pstricks.con (for xdvipdfmx driver) -%% -%% Configuration file for PSTricks -%% -%% Version 0.05 (2015/09/11) -%% -%% For use with xdvipdfmx -%% Created by SMiyata based on standard pstricks.con from TeXLive distribution. -%% This file may be distributed, used and modified freely. -%% Modified by Denis Girou, Herbert Voss -%% -\def\pstdriver{xdvipdfmx}% -\def\pstverb#1{\special{pst: #1}}% Check catcode of " -\def\pstunit{1bp}% -\def\pstVerb#1{\immediate\special{PST: #1}}% -\def\pstverbscale{72.27 72 div dup scale }% -\def\pstnodescale{72 72.27 div dup scale }% -% DG/SR modification begin - Apr. 28, 1997 (D. Carlisle + S. Rahtz) -% \def\pstheader#1{\special{header=#1}} -% We used to check for |\AtBeginDvi|, but that was broken in early release -% so we now check for the existence of |\textsuperscript| (added 1995/05/16) -\ifx\textsuperscript\@undefined - \def\pstheader#1{\special{header=#1}}% -\else - \ifx\Gin@PS@file@header\@undefined - \def\pstheader#1{\AtBeginDvi{\special{header=#1}}}% - \else - \let\pstheader\Gin@PS@file@header% - \fi -\fi -% DG/SR modification end -% -%% -%% -%% In the following, CP is short for currentpoint. -%% The neg is necessary because dvips scales the coordinates by 1 -1. -%% \tx@NET means neg exch neg exch translate. -\def\pstrotate{CP CP translate 3 -1 roll neg rotate \tx@NET}% -%% -%% ****************** END xdvipdfmx ***************************** - - -%%%%%%%%%%%%%%%%%%% !! CUSTOMIZATION STUFF GOES HERE: !! %%%%%%%%%%%%%%%%%% -%% If you want to include your own customizations to pstricks.tex, then -%% uncomment the \pstcustomize command, and include your modifications -%% after \pstcustomize. These will be read in after pstricks.tex. -\def\c@lor@to@ps#1 #2\@@{\csname c@lor@ps@#1\endcsname#2 \@@}% -\def\c@lor@ps@#1 #2\@@{TeXDict begin #1 end}% -\def\c@lor@ps@rgb#1\@@{#1 setrgbcolor}% -\def\c@lor@ps@hsb#1\@@{#1 sethsbcolor}% -\def\c@lor@ps@cmyk#1\@@{#1 setcmykcolor}% -\def\c@lor@ps@gray#1\@@{#1 setgray}% -\pstcustomize -\typeout{Using PSTricks configuration for XeTeX+xdvipdfmx}% -\def\@@scalebox{% - \leavevmode - \hbox{% -\ifdim\pst@tempd\p@<\z@ -\pst@dimg=\pst@tempd\ht\pst@hbox -\pst@dimh=\pst@tempd\dp\pst@hbox -\dp\pst@hbox=-\pst@dimg -\ht\pst@hbox=-\pst@dimh -\else -\ht\pst@hbox=\pst@tempd\ht\pst@hbox -\dp\pst@hbox=\pst@tempd\dp\pst@hbox -\fi -\pst@dima=\pst@tempc\wd\pst@hbox -\ifdim\pst@dima<\z@\kern-\pst@dima\fi -\special{x: bscale \pst@tempc \pst@tempd}% -\hbox to \z@{\box\pst@hbox\hss}% -\special{x: escale}% -\ifdim\pst@dima>\z@\kern\pst@dima\fi}}% -% -\let\ps@@scalebox\@@scalebox -\def\ps@rotateleft#1{% -\leavevmode\hbox{\hskip\ht#1\hskip\dp#1\vbox{\vskip\wd#1% -\pst@Verb{90 \tx@RotBegin}% -\vbox to \z@{\vss\hbox to \z@{\box#1\hss}\vskip\z@}% -\pst@Verb{\tx@RotEnd}}}}% -% -\def\ps@rotateright#1{% - \leavevmode\hbox{% - \hskip\ht#1\hskip\dp#1\vbox{\vskip\wd#1% - \pst@Verb{-90 \tx@RotBegin}% - \vbox to \z@{\hbox to \z@{\hss\box#1}\vss}% - \pst@Verb{\tx@RotEnd}}}}% -% -\def\ps@rotatedown#1{% -\hbox{\hskip\wd#1\vbox{\vskip\ht#1\vskip\dp#1% -\pst@Verb{180 \tx@RotBegin}% -\vbox to \z@{\hbox to \z@{\box#1\hss}\vss}% -\pst@Verb{\tx@RotEnd}}}}% -% -\def\begin@psclip{\special{x: gsave}}% -\def\end@psclip{\special{x: grestore}}% -\def\@newcolor#1#2#3{% -\expandafter\edef\csname #1\endcsname{\noexpand\pst@color{#2}}% -\expandafter\edef\csname\string\color@#1\endcsname{#2}% hv 1.14 2005-12-17 -\expandafter\edef\csname\string\color@xetex@#1\endcsname{#3}% -\ignorespaces}% -% -\def\newgray#1#2{% - \pst@checknum{#2}\pst@tempg - \@newcolor{#1}{\pst@tempg setgray}{gray \pst@tempg}% -} -\def\newrgbcolor#1#2{% - \pst@expandafter\pst@getnumiii{#2} {} {} {} {}\@nil - \@newcolor{#1}{\pst@tempg \pst@temph \pst@tempi setrgbcolor}{rgb \pst@tempg \pst@temph \pst@tempi}% -}% -\def\newhsbcolor#1#2{% - \pst@expandafter\pst@getnumiii{#2} {} {} {} {}\@nil - \@newcolor{#1}{\pst@tempg \pst@temph \pst@tempi sethsbcolor}{hsb \pst@tempg \pst@temph \pst@tempi}% -}% -\def\newcmykcolor#1#2{% - \pst@expandafter\pst@getnumiv{#2} {} {} {} {} {}\@nil - \@newcolor{#1}{\pst@tempg \pst@temph \pst@tempi \pst@tempj setcmykcolor}% - {cmyk \pst@tempg \pst@temph \pst@tempi \pst@tempj}% -}% -\newgray{black}{0}% -\newgray{darkgray}{.25}% -\newgray{gray}{.5}% -\newgray{lightgray}{.75}% -\newgray{white}{1}% -\newrgbcolor{red}{1 0 0}% -\newrgbcolor{green}{0 1 0}% -\newrgbcolor{blue}{0 0 1}% -\newrgbcolor{yellow}{1 1 0}% -\newrgbcolor{cyan}{0 1 1}% -\newrgbcolor{magenta}{1 0 1}% - -\@ifundefined{LaTeXe}% - {\def\current@@@@color{\csname\string\color@xetex@\psfillcolor\endcsname}}{% - \AtBeginDocument{\@ifpackageloaded{xcolor}{\def\current@@@@color{\psfillcolor}}% - {\def\current@@@@color{\csname\string\color@\psfillcolor\endcsname}}}}% -% -\iffalse -\def\pst@starbox{% -\setbox\pst@hbox\hbox{{% - \def\current@color{\current@@@@color}% -\dimen@\wd\pst@hbox\advance\dimen@2\psframesep\wd\pst@hbox\dimen@% -\dimen@\ht\pst@hbox\advance\dimen@\psframesep\ht\pst@hbox\dimen@% -\dimen@\dp\pst@hbox\advance\dimen@\psframesep\dp\pst@hbox\dimen@% -\@ifundefined{LaTeXe}{\special{color push \current@color}% - \rlap{\vrule width\wd\pst@hbox height\ht\pst@hbox depth\dp\pst@hbox}% - \special{color pop}}% - {\color@block{\wd\pst@hbox}{\ht\pst@hbox}{\dp\pst@hbox}}}% -\rlap{\hskip\psframesep\unhbox\pst@hbox}}} -\fi -% -\def\AltClipMode{}% -% -\def\putoverlaybox#1{% -\hbox{\special{x: gsave}\special{x: initoverlay #1}\copy\theoverlaybox\special{x: grestore}}}% -% -\def\pst@overlay#1{\edef\curr@overlay{#1}\special{x: clipoverlay #1}\aftergroup\pst@endoverlay}% -\def\pst@endoverlay{\special{x: clipoverlay \curr@overlay}}% -\def\AltOverlayMode{}% -%The next line is not necessary, if pstricks.sty of [2007/02/18 v0.33] or newer is used. -\@ifundefined{LaTeXe}{}{\AtBeginDocument{\psset{fillcolor=white}}}% -% -\endinput -% -% -%%%%%%%%%%%%%%%% DESCRIPTION OF CONFIGURATION DEFINITIONS %%%%%%%%%%%%%%% - -Here are the commands that must be defined in this file: - - \pstverb{} - The argument is included as verbatim PostScript, - grouped by save and restore. The coordinate system - should be square, not rotated, and with the origin - at TeX's currentpoint. - - \pstVerb{} - The argument is included as verbatim PostScript, not - grouped by (g)save and (g)restore. The currentpoint - should be TeX's currentpoint. - - \pstunit - The units used by driver for graphics included with - \pstverb. Probably 1bp or 1sp. - - \pstverbscale - The PostScript code that scales the coordinate system - from that in effect with \pstVerb to that in effect - with \pstverb. Should not translate to the currentpoint. - - \pstrotate - The PostScript code that takes a number off the stack - and rotates the axes properly. I.e., - \pstVerb{angle \pstrotate} is used to begin rotations. - - \pstheader{} - The argument is a header file (e.g., .pro file). - If your driver does not support such a special, then - the command might just remind you to include the header - when printing. You can use PSTricks without a header, - in which case it does not matter how you define - \pstheader. See read-me.pst for details. - If you cannot change the default directory where your - driver looks for header files, and you cannot write to - that directory, then you include the path for your - PSTricks header files. - E.g., \def\pstheader#1{\special{header=~/tex/#1}}. - - \pstdriver - The name of the driver. - - -%%%%%%%%% !! HOW TO MAKE A TEX FORMAT WITH PSTRICKS PRELOADED !! %%%%%%%% - -See your local TeX documentation for instructions on creating a TeX format. - -Before making the format, be sure that this configuration file is correct. -It will be read only when creating the format, and not with every job. - -If you are not using header files, there are no more special instructions. - -Special instructions when using header files: - - - If you want to include supplementary PSTricks files (e.g., pst-node.tex), - add \input commands in the customization section above. - - - If your definition of \pstheader is, e.g. - - \def\pstheader#1{\special{\header=#1}} - - then change it to - - \def\pstheader#1{% - \expandafter\everyjob\expandafter{\the\everyjob - \special{header=#1}}} - - and put your original definition in the customization section, AFTER - any \input commands. E.g., the customization section might look like: - - \pstcustomize - \input pst-node.tex - \input pst-coil.tex - \def\pstheader#1{\special{header=#1}} - - - Input pstricks.tex at the appropriate time when creating the format. - E.g., when initex stops running: - *\input pstricks - *\dump - - -%% -%% END: pstricks.con diff --git a/graphics/pstricks/base/doc/PSTricks.bib b/graphics/pstricks/base/doc/PSTricks.bib index d49525facf..daaa78d445 100644 --- a/graphics/pstricks/base/doc/PSTricks.bib +++ b/graphics/pstricks/base/doc/PSTricks.bib @@ -1,21 +1,4 @@ @STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} } -@STRING{beiprogramm = {{\TeX}-Beiprogramm}} -@STRING{bretter = {Bretter, die die Welt bedeuten}} -@STRING{dtk = {DTK}} -@STRING{editorial = {Editorial}} -@STRING{fremdebuehne = {Von fremden Bühnen}} -@STRING{fundus = {Aus dem Fundus}} -@STRING{grusswort = {Grußwort}} -@STRING{hinterbuehne = {Hinter der Bühne}} -@STRING{komascript = {\KOMAScript}} -@STRING{leserbriefe = {Leserbriefe}} -@STRING{magazin = {Magazin}} -@STRING{rezensionen = {Bücher und Rezensionen}} -@STRING{schonimmer = {Was Sie schon immer über {\TeX} wissen wollten, \dots}} -@STRING{spielplan = {Spielplan}} -@STRING{theaterkasse = {Von der Theaterkasse}} -@STRING{theatertage = {{\TeX}-Theatertage}} -@STRING{tippstricks = {Tipps und Tricks}} @Book{PostScript, Author = {Kollock, Nikolai G.}, diff --git a/graphics/pstricks/base/doc/pst-doc.cls b/graphics/pstricks/base/doc/pst-doc.cls index e54d5e9893..9e4b244dab 100644 --- a/graphics/pstricks/base/doc/pst-doc.cls +++ b/graphics/pstricks/base/doc/pst-doc.cls @@ -23,12 +23,13 @@ % \RequirePackage[dvipsnames,x11names,svgnames,table]{xcolor} \RequirePackage{iftex} +\RequirePackage{everyshi} \RequirePackage{amsmath, amssymb} -\ifxetex +\iftutex \usepackage{unicode-math} \usepackage{libertinus-otf} \setmonofont[Scale=MatchLowercase,FakeStretch=0.92]{DejaVu Sans Mono} - \setmathfont{XITS Math} +% \setmathfont{XITS Math} \else \RequirePackage[T1]{fontenc} \RequirePackage{textcomp} @@ -252,16 +253,17 @@ xleftmargin=0pt,xrightmargin=0pt, % Inhalte von List of Figures \IfPackageLoaded{subfig}{\setcounter{lofdepth}{1} %1 = nur figures, 2 = figures + subfigures } +\RequirePackage{xurl} \RequirePackage[colorlinks, urlcolor=pdfurlcolor, filecolor=pdffilecolor, linkcolor=pdflinkcolor, breaklinks, linktocpage=true]{hyperref} -\ifxetex -\else - \RequirePackage{breakurl} -\fi +%\ifxetex +%\else +% \RequirePackage{breakurl} +%\fi \newsavebox\TBox \newenvironment{Bsp}[1]{% \par\bigskip% @@ -459,13 +461,12 @@ xleftmargin=0pt,xrightmargin=0pt, \parbox{17cm}{\sffamily\RaggedRight\bfseries\huge\@title}\\[5pt] \parbox{15cm}{\sffamily\Large\@subtitle} - \vspace{5cm} + \vspace{4cm} \parbox{10cm}{\sffamily\@date} \vfill - ~\\ - \makebox[.5\textwidth]{\put(0,0){\bgImage}}\\ - ~ + \makebox[\textwidth]{\bgImage} + \vfill \parbox[b]{19cm}{\sffamily\RaggedRight diff --git a/graphics/pstricks/base/doc/pst-news.tex b/graphics/pstricks/base/doc/pst-news.tex index 6f3946714c..f9e40428f8 100644 --- a/graphics/pstricks/base/doc/pst-news.tex +++ b/graphics/pstricks/base/doc/pst-news.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news.tex 444 2017-04-19 10:55:35Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news08.pdf b/graphics/pstricks/base/doc/pst-news08.pdf Binary files differindex 00811580d4..428653ebf2 100644 --- a/graphics/pstricks/base/doc/pst-news08.pdf +++ b/graphics/pstricks/base/doc/pst-news08.pdf diff --git a/graphics/pstricks/base/doc/pst-news09.tex b/graphics/pstricks/base/doc/pst-news09.tex index a548f6e1bb..4a656a8566 100644 --- a/graphics/pstricks/base/doc/pst-news09.tex +++ b/graphics/pstricks/base/doc/pst-news09.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news09.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news09.tex 165 2015-07-26 07:27:55Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news10.tex b/graphics/pstricks/base/doc/pst-news10.tex index e679c0a617..d4c018d92e 100644 --- a/graphics/pstricks/base/doc/pst-news10.tex +++ b/graphics/pstricks/base/doc/pst-news10.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news10.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news10.tex 697 2017-12-30 19:04:03Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV12,bibliography=totoc,parskip=false,headings=small,, headinclude=false,footinclude=false,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news11.tex b/graphics/pstricks/base/doc/pst-news11.tex index 61efbef06c..a4254f226f 100644 --- a/graphics/pstricks/base/doc/pst-news11.tex +++ b/graphics/pstricks/base/doc/pst-news11.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news11.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news11.tex 165 2015-07-26 07:27:55Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news12.tex b/graphics/pstricks/base/doc/pst-news12.tex index 2b3e185931..759869d864 100644 --- a/graphics/pstricks/base/doc/pst-news12.tex +++ b/graphics/pstricks/base/doc/pst-news12.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news12.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news12.tex 847 2018-12-04 08:04:28Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news13.tex b/graphics/pstricks/base/doc/pst-news13.tex index 04b7de5995..2995cf042d 100644 --- a/graphics/pstricks/base/doc/pst-news13.tex +++ b/graphics/pstricks/base/doc/pst-news13.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news13.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news13.tex 165 2015-07-26 07:27:55Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news14.tex b/graphics/pstricks/base/doc/pst-news14.tex index f0a108fba1..75b209b580 100644 --- a/graphics/pstricks/base/doc/pst-news14.tex +++ b/graphics/pstricks/base/doc/pst-news14.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news14.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news14.tex 165 2015-07-26 07:27:55Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news15.tex b/graphics/pstricks/base/doc/pst-news15.tex index 231a8bd38c..c2369d7018 100644 --- a/graphics/pstricks/base/doc/pst-news15.tex +++ b/graphics/pstricks/base/doc/pst-news15.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news15.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news15.tex 444 2017-04-19 10:55:35Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news16.tex b/graphics/pstricks/base/doc/pst-news16.tex index b0d91ec84a..9a544ca5bd 100644 --- a/graphics/pstricks/base/doc/pst-news16.tex +++ b/graphics/pstricks/base/doc/pst-news16.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news16.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news16.tex 446 2017-04-19 11:40:55Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news17.tex b/graphics/pstricks/base/doc/pst-news17.tex index 1bd25716a6..53cf23c2ce 100644 --- a/graphics/pstricks/base/doc/pst-news17.tex +++ b/graphics/pstricks/base/doc/pst-news17.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news17.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news17.tex 699 2017-12-31 10:27:45Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news18.tex b/graphics/pstricks/base/doc/pst-news18.tex index ac3ec7c4a4..dde1638e58 100644 --- a/graphics/pstricks/base/doc/pst-news18.tex +++ b/graphics/pstricks/base/doc/pst-news18.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news18.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news17.tex 699 2017-12-31 10:27:45Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} \listfiles diff --git a/graphics/pstricks/base/doc/pst-news19.pdf b/graphics/pstricks/base/doc/pst-news19.pdf Binary files differindex 8fceedb1b9..4c32cf3c1c 100644 --- a/graphics/pstricks/base/doc/pst-news19.pdf +++ b/graphics/pstricks/base/doc/pst-news19.pdf diff --git a/graphics/pstricks/base/doc/pst-news19.tex b/graphics/pstricks/base/doc/pst-news19.tex index c670a6697d..9db696bc29 100644 --- a/graphics/pstricks/base/doc/pst-news19.tex +++ b/graphics/pstricks/base/doc/pst-news19.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news19.tex 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pst-news19.tex 934 2019-02-23 14:07:34Z herbert $ \PassOptionsToPackage{useCalc}{pstricks} \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} @@ -54,11 +54,9 @@ this new file. %-------------------------------------------------------------------------------------- -\section{\texttt{pstricks.tex} (v. 2.98 -- 2019/05/16)} +\section{\texttt{pstricks.tex} (v. 2.94 -- 2019/01/07)} %-------------------------------------------------------------------------------------- -\subsection{Plotting multilines} - There is a new macro called \Lcs{psLine} (uppercase L!) which can have only one or two pairs of coordinates. Remember that \Lcs{psline} can have more. With \Lcs{psLine} and an defined arrow you'll get nothing for something @@ -120,36 +118,6 @@ coordinates. It needs \end{LTXexample} \fi -%$ - -\subsection{Relative coordinates -- experimental} - -All objects which can have at least two pairs of coordinates -can use the »+«-operator to mark relative coordinates: - -\begin{BDef} -\Lcs{psline}\OptArgs\OptArg{\Largr{$x_0,y_0$}}\Largr{$x_1,y_1$}+\Largr{$x_2,y_2$}\ldots\\ -\end{BDef} - -\begin{LTXexample}[width=5.5cm] -\begin{pspicture}[showgrid](5,5) -\psline[linecolor=blue]{->}% - (1,1)+(3,4)+(-2,-3) -\end{pspicture} -\end{LTXexample} - - -\begin{LTXexample}[width=5.5cm] -\begin{pspicture}[showgrid](-1,-2)(4,3) -\psaxes[labels=none]{->}(0,0)(-1,-2)(4,3) -\psbezier% - (!0.8 -95 PtoC 1 sub)+(8.5;85)+(5;-100)(2,1)% - +(1;-70)+(0.5;-110)(3,2)% - +(1;-80)+(0.5;95)(3.4,-0.8) -\end{pspicture} -\end{LTXexample} - - \subsection{Error message} diff --git a/graphics/pstricks/base/doc/pst-news20.tex b/graphics/pstricks/base/doc/pst-news20.tex index f5a8094d14..00acba1ff2 100644 --- a/graphics/pstricks/base/doc/pst-news20.tex +++ b/graphics/pstricks/base/doc/pst-news20.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news20.tex 25 2020-09-18 06:59:21Z herbert $ +%% $Id: pst-news20.tex 23 2020-09-18 06:29:04Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{scrartcl} diff --git a/graphics/pstricks/base/doc/pst-news21.pdf b/graphics/pstricks/base/doc/pst-news21.pdf Binary files differindex fb0d5b9f1d..fde6b2fc62 100644 --- a/graphics/pstricks/base/doc/pst-news21.pdf +++ b/graphics/pstricks/base/doc/pst-news21.pdf diff --git a/graphics/pstricks/base/doc/pst-news21.tex b/graphics/pstricks/base/doc/pst-news21.tex index 7c8e8cb4ee..447b9ba207 100644 --- a/graphics/pstricks/base/doc/pst-news21.tex +++ b/graphics/pstricks/base/doc/pst-news21.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news21.tex 164 2021-08-25 19:26:42Z herbert $ +%% $Id: pst-news21.tex 191 2021-09-05 20:07:31Z herbert $ \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, headinclude=false,footinclude=false,twoside]{pst-doc} @@ -132,21 +132,25 @@ the optional argument \texttt{gsfonts}: There was a bug if this fillstyle was used together with a line sequence. + + + \psset{unit=1cm} \centering\vspace{5cm} \pspicture[showgrid=false](-0.5\linewidth,-4.5)(0.5\linewidth,5) \rput(0,0){\parbox{4.5cm}{% - \psclip{\psccurve[linestyle=none,fillstyle=penrose,psscale=.2](-3,-2) + \psclip{\psccurve[linestyle=none,fillstyle=penrose,psscale=.2](-3,-2)% (0.3,-1.5)(2.3,-2)(4.3,-1.5)(6.3,-2)(8,-1.5)(8,2)(-3,2)} ``One of the best new plays I have seen all year: cool, poetic, ironic \ldots'' proclaimed \emph{The Guardian} upon the London premiere of this extraordinary play about a Czech director and his actress wife, confronting exile in America. - \endpsclip}}% + \endpsclip}} \psline[linearc=0.5cm,showpoints=true,dotstyle=|]{<<->>}(-1,-2)(0,-4)(1,-2) \endpspicture + \begin{lstlisting} \pspicture[showgrid=false](-0.5\linewidth,-4.5)(0.5\linewidth,5) \rput(0,0){\parbox{4.5cm}{% @@ -162,6 +166,7 @@ There was a bug if this fillstyle was used together with a line sequence. \end{lstlisting} + \pspicture[showgrid=false](-0.5\linewidth,-4.5)(0.5\linewidth,5) \rput(0,0){\parbox{4.5cm}{% \psclip{\psccurve[linestyle=none,fillstyle=penroseA,psscale=.2](-3,-2) diff --git a/graphics/pstricks/base/dvips/pstricks-fonts-lm.pro b/graphics/pstricks/base/dvips/pstricks-fonts-lm.pro deleted file mode 100644 index 952fccfa80..0000000000 --- a/graphics/pstricks/base/dvips/pstricks-fonts-lm.pro +++ /dev/null @@ -1,69 +0,0 @@ -% $Id: pstricks-fonts-lm.pro 4 2020-06-09 08:32:19Z herbert $ -% -%% PostScript font prologue for pstricks.tex. -%% Version 0.01, 2016/04/22 -%% -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives -%% in directory macros/latex/base/lppl.txt. -% -% -%true setglobal globaldict begin - -%dd-lmbx10 LMRoman10-Bold <dotdigits-clm.enc <lmbx10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmbxi10 LMRoman10-BoldItalic <dotdigits-clm.enc <lmbxi10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmbxo10 LMRomanSlant10-Bold <dotdigits-clm.enc <lmbxo10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmcsc10 LMRomanCaps10-Regular <dotdigits-clm.enc <lmcsc10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmcsco10 LMRomanCaps10-Oblique <dotdigits-clm.enc <lmcsco10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmdunh10 LMRomanDunh10-Regular <dotdigits-clm.enc <lmdunh10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmduno10 LMRomanDunh10-Oblique <dotdigits-clm.enc <lmduno10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmr10 LMRoman10-Regular <dotdigits-clm.enc <lmr10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmri10 LMRoman10-Italic <dotdigits-clm.enc <lmri10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmro10 LMRomanSlant10-Regular <dotdigits-clm.enc <lmro10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " - -/Times-Roman /LMRoman10-Regular def -/Times-Bold /LMRoman10-Bold def -/Times-Italic /LMRoman10-Italic def -/Times-BoldItalic /LMRoman10-BoldItalic def - -%mss8ttl10 LMSans10-Regular <t1-clm.enc <lmss10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%lmssbo8ttl10 LMSans10-BoldOblique <t1-clm.enc <lmssbo10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%lmssbx8ttl10 LMSans10-Bold <t1-clm.enc <lmssbx10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%lmssdc8ttl10 LMSansDemiCond10-Regular <t1-clm.enc <lmssdc10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%lmssdo8ttl10 LMSansDemiCond10-Oblique <t1-clm.enc <lmssdo10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%lmsso8ttl10 LMSans10-Oblique <t1-clm.enc <lmsso10.pfb " fontinst-autoenc-t1-clm ReEncodeFont " -%dd-lmss10 LMSans10-Regular <dotdigits-clm.enc <lmss10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmssbo10 LMSans10-BoldOblique <dotdigits-clm.enc <lmssbo10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmssbx10 LMSans10-Bold <dotdigits-clm.enc <lmssbx10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmssdc10 LMSansDemiCond10-Regular <dotdigits-clm.enc <lmssdc10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmssdo10 LMSansDemiCond10-Oblique <dotdigits-clm.enc <lmssdo10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmsso10 LMSans10-Oblique <dotdigits-clm.enc <lmsso10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " - -/Helvetica /LMSans10-Regular def -/Helvetica-Bold /LMSans10-Bold def -/Helvetica-Oblique /LMSans10-Oblique def -/Helvetica-BoldOblique /LMSans10-BoldOblique def - -%dd-lmtcsc10 LMMonoCaps10-Regular <dotdigits-clm.enc <lmtcsc10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtcso10 LMMonoCaps10-Oblique <dotdigits-clm.enc <lmtcso10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtk10 LMMonoLt10-Bold <dotdigits-clm.enc <lmtk10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtko10 LMMonoLt10-BoldOblique <dotdigits-clm.enc <lmtko10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtl10 LMMonoLt10-Regular <dotdigits-clm.enc <lmtl10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtlc10 LMMonoLtCond10-Regular <dotdigits-clm.enc <lmtlc10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtlco10 LMMonoLtCond10-Oblique <dotdigits-clm.enc <lmtlco10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtlo10 LMMonoLt10-Oblique <dotdigits-clm.enc <lmtlo10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtt10 LMMono10-Regular <dotdigits-clm.enc <lmtt10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtti10 LMMono10-Italic <dotdigits-clm.enc <lmtti10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " -%dd-lmtto10 LMMonoSlant10-Regular <dotdigits-clm.enc <lmtto10.pfb " fontinst-autoenc-dotdigits-clm ReEncodeFont " - -/Courier /LMMono10-Regular def -/Courier-Bold /LMMono10-Bold def -/Courier-Oblique /LMMono10-Italic def -/Courier-BoldOblique /LMMono10-BoldOblique def - -/Symbol /StandardSymL def - -%end false setglobal -% -% end of file - diff --git a/graphics/pstricks/base/dvips/pstricks-fonts-ps.pro b/graphics/pstricks/base/dvips/pstricks-fonts-ps.pro deleted file mode 100644 index a2da535389..0000000000 --- a/graphics/pstricks/base/dvips/pstricks-fonts-ps.pro +++ /dev/null @@ -1,32 +0,0 @@ -% $Id: pstricks-fonts-ps.pro 4 2020-06-09 08:32:19Z herbert $ -% -%% PostScript font prologue for pstricks.tex. -%% Version 0.01, 2016/04/22 -%% -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives -%% in directory macros/latex/base/lppl.txt. -% -% -%true setglobal globaldict begin - -/Times-Roman /Times-Roman def -/Times-Bold /Times-Bold def -/Times-Italic /Times-Italic def -/Times-BoldItalic /Times-BoldItalic def - -/Helvetica /Helvetica def -/Helvetica-Bold /Helvetica-Bold def -/Helvetica-Oblique /Helvetica-Oblique def -/Helvetica-BoldOblique /Helvetica-BoldOblique def - -/Courier /Courier def -/Courier-Bold /Courier-Bold def -/Courier-Oblique /Courier-Oblique def -/Courier-BoldOblique /Courier-BoldOblique def - -/Symbol /Symbol def - -%end false setglobal -% -% end of file diff --git a/graphics/pstricks/base/dvips/pstricks-fonts-urw.pro b/graphics/pstricks/base/dvips/pstricks-fonts-urw.pro deleted file mode 100644 index 9191a26128..0000000000 --- a/graphics/pstricks/base/dvips/pstricks-fonts-urw.pro +++ /dev/null @@ -1,61 +0,0 @@ -% $Id: pstricks-fonts-urw.pro 4 2020-06-09 08:32:19Z herbert $ -% -%% PostScript font prologue for pstricks.tex. -%% Version 0.01, 2016/04/22 -%% -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives -%% in directory macros/latex/base/lppl.txt. -% -% -%true setglobal globaldict begin - -%n021003l.pfa:/FontName /NimbusRomNo9L-Regu def -%n021004l.pfa:/FontName /NimbusRomNo9L-Medi def -%n021023l.pfa:/FontName /NimbusRomNo9L-ReguItal def -%n021024l.pfa:/FontName /NimbusRomNo9L-MediItal def - -/Times-Roman /NimbusRomNo9L-Regu def -/Times-Roman-Bold /NimbusRomNo9L-Medi def -/Times-Italic /NimbusRomNo9L-ReguItal def -/Times-BoldItalic /NimbusRomNo9L-MediItal def - -%n019003l.pfa:/FontName /NimbusSanL-Regu def -%n019004l.pfa:/FontName /NimbusSanL-Bold def -%n019023l.pfa:/FontName /NimbusSanL-ReguItal def -%n019024l.pfa:/FontName /NimbusSanL-BoldItal def -%n019043l.pfa:/FontName /NimbusSanL-ReguCond def -%n019044l.pfa:/FontName /NimbusSanL-BoldCond def -%n019063l.pfa:/FontName /NimbusSanL-ReguCondItal def -%n019064l.pfa:/FontName /NimbusSanL-BoldCondItal def - -%/Helvetica /dd-lmss10 def -/Helvetica /LMSans10-Regular def -%/Helvetica /NimbusSanL-Regu def -/Helvetica-Bold /NimbusSanL-Bold def -/Helvetica-Oblique /NimbusSanL-ReguItal def -/Helvetica-BoldOblique /NimbusSanL-BoldItal def - -%n022003l.pfa:/FontName /NimbusMonL-Regu cvn def -%n022004l.pfa:/FontName /NimbusMonL-Bold cvn def -%n022023l.pfa:/FontName /NimbusMonL-ReguObli cvn def -%n022024l.pfa:/FontName /NimbusMonL-BoldObli cvn def - -/Courier /NimbusMonL-Regu def -/Courier-Bold /NimbusMonL-Bold def -/Courier-Oblique /NimbusMonL-ReguObli def -/Courier-BoldOblique /NimbusMonL-BoldObli def - -%s050000l.pfa:/FontName /StandardSymL def - -/Symbol /StandardSymL def - -%p052003l.pfa:/FontName /URWPalladioL-Roma def -%p052004l.pfa:/FontName /URWPalladioL-Bold def -%p052023l.pfa:/FontName /URWPalladioL-Ital def -%p052024l.pfa:/FontName /URWPalladioL-BoldItal def -%z003034l.pfa:/FontName /URWChanceryL-MediItal def - -%end false setglobal -% -% end of file diff --git a/graphics/pstricks/base/dvips/pstricks.pro b/graphics/pstricks/base/dvips/pstricks.pro index ac52ca5f7d..91824e557c 100644 --- a/graphics/pstricks/base/dvips/pstricks.pro +++ b/graphics/pstricks/base/dvips/pstricks.pro @@ -1,7 +1,7 @@ -% $Id: pstricks.pro 167 2021-08-27 12:15:28Z herbert $ +% $Id: pstricks.pro 191 2021-09-05 20:07:31Z herbert $ % %% PostScript prologue for pstricks.tex. -%% Version 1.37, 2021/08/26 +%% Version 1.38, 2021/09/05 %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives @@ -10,7 +10,6 @@ % % Define the follwing gs-functions if not known, eg when using distiller % - revision 952 gt { systemdict /.setopacityalpha known not @@ -33,10 +32,10 @@ revision 952 gt /.setshapealpha { pop } bind def } if } ifelse - +% %%<bool> .setalphaisshape - %% If true, the values set by setstrokeconstantalpha and setfillconstantalpha are interpreted as shape values. The initial value of the AIS flag is false. - +% % /tx@Dict 200 dict def % the main PSTricks dictionary tx@Dict begin @@ -121,6 +120,23 @@ tx@Dict begin % /startGlobal { true setglobal globaldict begin } bind def /endGlobal { end false setglobal } bind def +% +/setpdfcolor where { % luapstricks specific code + /setpdfcolor get /pssetPDFcolor exch def + /setpdfcolor { + pssetPDFcolor + mark + currentcolor + currentcolorspace 0 get + dup /DeviceRGB eq { pop setrgbcolor } { + dup /DeviceCMYK eq { pop setcmykcolor } { + /DeviceGray eq { setgray } if + } ifelse + } ifelse + cleartomark + } def +} if +% /pssetRGBcolor /setrgbcolor load def /pssetCMYKcolor /setcmykcolor load def /pssetGraycolor /setgray load def @@ -306,7 +322,7 @@ tx@Dict begin } def % /PenroseFill {% on stack: scaling factor - 20 dict begin + 40 dict begin /Scale ED % 1 exch div round /penroseFactor ED % a 0 dtransform round exch round exch @@ -334,7 +350,7 @@ tx@Dict begin } def % /PenroseFillA {% on stack: scaling factor, border color, kite color, dart color - 30 dict begin + 50 dict begin /Scale ED Scale dup scale /border_colour ED @@ -1247,7 +1263,7 @@ dup angle0 sub dup abs 180 gt { 180 add 360 div floor 360 mul sub } { pop } ifel } def %%------------------ tvz/DG/hv (2004-05-10) end -------------------%% % -/Rot { CP CP translate 3 -1 roll neg rotate NET } def +/Rot { CP CP translate 3 -1 roll neg rotate NET } def % /RotBegin { tx@Dict /TMatrix known not { /TMatrix { } def /RAngle { 0 } def } if @@ -1297,4 +1313,4 @@ dup angle0 sub dup abs 180 gt { 180 add 360 div floor 360 mul sub } { pop } ifel end %-----------------------------------------------------------------------------% % -% END pstricks.pro +% END pstricks.pro
\ No newline at end of file diff --git a/graphics/pstricks/base/generic/pst-fp.tex b/graphics/pstricks/base/generic/pst-fp.tex index e00736bdeb..34cfb16f9e 100644 --- a/graphics/pstricks/base/generic/pst-fp.tex +++ b/graphics/pstricks/base/generic/pst-fp.tex @@ -1,4 +1,4 @@ -%% $Id: pst-fp.tex 68 2021-04-08 06:41:14Z herbert $ +%% $Id: pst-fp.tex 4 2020-06-09 08:32:19Z herbert $ %% %% %% This is file `pst-fp.tex', @@ -18,16 +18,16 @@ %% `pst-fp' is a PSTricks related package for a division, %% multiplication and addition %% -% -\def\fileversion{0.06} -\def\filedate{2020/11/20} -\message{`pst-fp' v\fileversion, \filedate\space (hv)} - \csname PSTFPloaded\endcsname \let\PSTFPloaded\endinput +% % Requires some packages \ifx\PSTricksLoaded\endinput\else\input pstricks \fi % +\def\fileversion{0.05} +\def\filedate{2010/01/17} +\message{`pst-fp' v\fileversion, \filedate\space (hv)} +% \edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax %fixed point arithmetic with values between (including) diff --git a/graphics/pstricks/base/generic/pstricks-arrows.tex b/graphics/pstricks/base/generic/pstricks-arrows.tex index 5684f3d792..0d89aa6b98 100644 --- a/graphics/pstricks/base/generic/pstricks-arrows.tex +++ b/graphics/pstricks/base/generic/pstricks-arrows.tex @@ -1,4 +1,4 @@ -%% $Id: pstricks-arrows.tex 164 2021-08-25 19:26:42Z herbert $ +%% $Id: pstricks-arrows.tex 168 2021-08-28 08:43:24Z herbert $ %% %% This is file `pstricks-arrows.tex', %% @@ -279,35 +279,18 @@ \psset[pstricks]{filledveearrowlength=3mm} % default projected length \define@key[psset]{pstricks}{filledveearrowangle}[15]{\pst@getangle{#1}\psk@filledveearrowangle} \psset[pstricks]{filledveearrowangle=15} % default angle -\define@key[psset]{pstricks}{filledveearrowlinewidth}[0.35mm]{\pst@getlength{#1}\psk@filledveearrowlinewidth} -\psset[pstricks]{filledveearrowlinewidth=0.35mm} % default vee arrow line width +\define@key[psset]{pstricks}{filledveearrowlinewidth}[0.8pt]{\pst@getlength{#1}\psk@filledveearrowlinewidth} +\psset[pstricks]{filledveearrowlinewidth=\pslinewidth} % default vee arrow line width \define@key[psset]{pstricks}{arrowlinestyle}[solid]{% \@ifundefined{psls@#1}% {\@pstrickserr{Line style `#1' not defined}\@eha}% {\def\psarrowlinestyle{#1}}} \psset[pstricks]{arrowlinestyle=solid} % default -\pst@def{VeeArrow}<% - 1 setlinecap % round caps - 1 setlinejoin % round join - setlinewidth % vee arrow line width - /y ED % projected length - 2 div /a ED % angle (divide by 2) - /t ED % false = inside, true = outside - a sin a cos div y mul /x ED % perpendicular length : x=tan(a).y - t { 1 -1 scale } if % if outside : symmetry - x neg y moveto % point #1 - 0 0 L % point #2 - x y L % point #3 - { closepath gsave fill grestore } if % if filled : close and fill - \@nameuse{psls@\psarrowlinestyle} - \ps@check@tipcolor - stroke % draw line - 0 t { y 2 mul } { 0 } ifelse moveto> % if outside : twice longer line - -% VeeArrow : filled? outside? (total) angle (projected) length (arrow) line width \@namedef{psas@|}{\ps@check@tipcolor \psk@tbarsize \tx@Tbar} +% VeeArrow : filled? outside? (total) angle (projected) length (arrow) line width + \@namedef{psas@v}{% \ps@check@tipcolor false false \psk@veearrowangle \psk@veearrowlength \psk@veearrowlinewidth \tx@VeeArrow} @@ -315,12 +298,37 @@ \ps@check@tipcolor false true \psk@veearrowangle \psk@veearrowlength \psk@veearrowlinewidth \tx@VeeArrow} \@namedef{psas@f}{% - \ps@check@tipcolor + \ps@check@tipcolor true false \psk@filledveearrowangle \psk@filledveearrowlength \psk@filledveearrowlinewidth \tx@VeeArrow} \@namedef{psas@F}{% \ps@check@tipcolor true true \psk@filledveearrowangle \psk@filledveearrowlength \psk@filledveearrowlinewidth \tx@VeeArrow} +\pst@def{VeeArrow}<% + 5 dict begin + \pst@arrowscale\space div SLW % vee arrow line width + /y ED % projected length + 2 div /a ED % angle (divide by 2) + /t ED % false = inside, true = outside + a sin a cos div y mul /x ED % perpendicular length : x=tan(a).y + /x2 x dup add def + t { 1 -1 scale } if % if outside : symmetry +% newpath x2 neg y moveto 0 y neg rlineto x2 dup add 0 rlineto 0 y rlineto closepath clip % to get rid of linecap problem + newpath + x neg y moveto % lower left + 0 0 lineto % arrow tip + x y lineto % upper left + 0 setlinecap % round caps + 2 setlinejoin % round join + { closepath 0 setlinewidth gsave fill grestore } if % if filled : close and fill + \@nameuse{psls@\psarrowlinestyle} + \ps@check@tipcolor + stroke % draw line + 0 t { y 2 mul } { 0 } ifelse moveto + end +> % if outside : twice longer line + + % And An another arrowhead % architectural tick / oblique arrow diff --git a/graphics/pstricks/base/generic/pstricks.con b/graphics/pstricks/base/generic/pstricks.con index 0c119d13a3..21134fb781 100644 --- a/graphics/pstricks/base/generic/pstricks.con +++ b/graphics/pstricks/base/generic/pstricks.con @@ -1,4 +1,4 @@ -%% $Id: pstricks.con 4 2020-06-09 08:32:19Z herbert $ +%% $Id: pstricks.con 170 2021-09-01 09:54:41Z herbert $ %% BEGIN: pstricks.con (for dvips driver) %% %% Configuration file for PSTricks @@ -39,8 +39,11 @@ %% If you want to include your own customizations to pstricks.tex, then %% uncomment the \pstcustomize command, and include your modifications %% after \pstcustomize. These will be read in after pstricks.tex. -%\pstcustomize +\pstcustomize +\ifPSTlualatex% luatex has another coordinate system + \def\pstrotate{CP CP translate 3 -1 roll rotate \tx@NET} +\fi \endinput %% diff --git a/graphics/pstricks/base/generic/pstricks.tex b/graphics/pstricks/base/generic/pstricks.tex index 3bbf6a341e..cd28900b39 100644 --- a/graphics/pstricks/base/generic/pstricks.tex +++ b/graphics/pstricks/base/generic/pstricks.tex @@ -81,8 +81,8 @@ \fi \let\pgfforeach\foreach % -\def\fileversion{3.06} -\def\filedate{2021/08/27} +\def\fileversion{3.07} +\def\filedate{2021/09/05} \pst@addfams{pstricks} % %\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{} @@ -1396,7 +1396,8 @@ { \pst@usecolor\ps@kitecolor } { \pst@usecolor\pshatchcolor } \psk@psscale - \tx@PenroseFillA } + \tx@PenroseFillA +} \def\psfs@penroseA{\pst@fill\pst@penroseFillA} \@namedef{psfs@penroseA*}{\psfs@solid \psfs@penroseA} % @@ -2214,6 +2215,9 @@ }} % \pstheader{pst-dots.pro} + +\pstGSfontsfalse + \newpsfontdot{*}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(b)} \newpsfontdotH{o}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(c)}{(b)} \newpsfontdotH{Bo}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(C)}{(b)} @@ -2226,53 +2230,11 @@ \newpsfontdotH{pentagon}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(p)}{(q)} \newpsfontdotH{Bpentagon}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(P)}{(q)} \newpsfontdot{pentagon*}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(q)} -% DG/SR modification begin - Mar. 18, 1997 and Dec. 16, 1999 - Patch 14 - -\ifpstGSfonts - %\newpsfontdot{diamond*}[1.9 0.0 0.0 1.9 -0.4598 -0.70775]{StandardSymL}{<E0>} - %\newpsfontdot{diamond}[2.3 0.0 0.0 2.3 -0.8533 -0.5336]{StandardSymL}{<A8>} -\else - %\newpsfontdot{diamond*}[1.9 0.0 0.0 1.9 -0.4598 -0.70775]{Symbol}{<E0>} - %\newpsfontdot{diamond}[2.3 0.0 0.0 2.3 -0.8533 -0.5336]{Symbol}{<A8>} -\fi % D.G. modification begin - Jan. 17, 2000 \newpsfontdotH{diamond}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(d)}{(l)} \newpsfontdotH{Bdiamond}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(D)}{(l)} \newpsfontdot{diamond*}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(l)} % DG/SR modification end - -\ifpstGSfonts - \newpsfontdot{oplus}[1.44928 0.0 0.0 1.44928 -0.562319 -0.478261]{StandardSymL}{<C5>} - \newpsfontdot{otimes}[1.44928 0.0 0.0 1.44928 -0.562319 -0.475362]{StandardSymL}{<C4>} - \newpsfontdot{x}[1.8 0.0 0.0 1.8 -0.495 -0.4788]{StandardSymL}{<B4>} -\else - \newpsfontdot{oplus}[1.44928 0.0 0.0 1.44928 -0.562319 -0.478261]{Symbol}{<C5>} - \newpsfontdot{otimes}[1.44928 0.0 0.0 1.44928 -0.562319 -0.475362]{Symbol}{<C4>} - \newpsfontdot{x}[1.8 0.0 0.0 1.8 -0.495 -0.4788]{Symbol}{<B4>} -\fi -\newpsfontdot{+}[2.3 0.0 0.0 2.3 -0.6486 -0.5819]{NimbusRomNo9L-Regu}{<2B>} -\newpsfontdot{asterisk}[2.43309 0.0 0.0 2.43309 -0.609489 -1.14477]{NimbusRomNo9L-Regu}{<2A>} -\newpsfontdot{B+}[2.3 0.0 0.0 2.3 -0.6555 -0.5819]{NimbusRomNo9L-Bold}{<2B>} -\newpsfontdot{Basterisk}[2.29358 0.0 0.0 2.29358 -0.576835 -1.08486]{NimbusRomNo9L-Bold}{<2A>} -\newpsfontdot{|}[1.98413 0.0 0.0 1.38 -0.258929 -0.5]{NimbusSanL-Regu}{(|)} -% DG/SR modification begin - Oct. 27, 1997 - Patch 7 -%[1.98413 0.0 0.0 1.98413 -0.258929 -0.712302]{NimbusSanL-Regu}{(|)} -% DG/SR modification end -\newpsfontdot{B|}[1.98413 0.0 0.0 1.38 -0.277778 -0.5]{NimbusSanL-Bold}{(|)}% -% DG/SR modification begin - Oct. 27, 1997 - Patch 7 -%[1.98413 0.0 0.0 1.98413 -0.277778 -0.78302]{NimbusSanL-Bold}{(|)} - -% DG/SR modification end -\iffalse -\ifpstGSfonts - \newpsfontdot{*}[2.77778 0.0 0.0 2.77778 -0.638889 -0.813889]{StandardSymL}{<B7>} - \newpsfontdot{o}[3.33333 0.0 0.0 3.33333 -0.666667 -1.78167]{StandardSymL}{<B0>} -\else - \newpsfontdot{*}[2.77778 0.0 0.0 2.77778 -0.638889 -0.813889]{Symbol}{<B7>} - \newpsfontdot{o}[3.33333 0.0 0.0 3.33333 -0.666667 -1.78167]{Symbol}{<B0>} -\fi -\newpsfontdot{Bo}[4.69484 0.0 0.0 4.69484 -0.78169 -2.97418]{NimbusRomNo9L-Bold}{<CA>} -\fi % Etienne Riga \newpsfontdot{Asterisk}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(k)} \newpsfontdot{BoldAsterisk}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(K)} @@ -2313,6 +2275,28 @@ \newpsfontdotH{Diamond}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(d)}{(l)} \newpsfontdotH{BoldDiamond}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(D)}{(l)} \newpsfontdot{SolidDiamond}[1.0 0.0 0.0 1.0 0.0 0.0]{PSTricksDotFont}{(l)} + +\ifpstGSfonts + \newpsfontdot{oplus}[1.44928 0.0 0.0 1.44928 -0.562319 -0.478261]{StandardSymL}{<C5>} + \newpsfontdot{otimes}[1.44928 0.0 0.0 1.44928 -0.562319 -0.475362]{StandardSymL}{<C4>} + \newpsfontdot{x}[1.8 0.0 0.0 1.8 -0.495 -0.4788]{StandardSymL}{<B4>} + \newpsfontdot{+}[2.3 0.0 0.0 2.3 -0.6486 -0.5819]{NimbusRomNo9L-Regu}{<2B>} + \newpsfontdot{asterisk}[2.43309 0.0 0.0 2.43309 -0.609489 -1.14477]{NimbusRomNo9L-Regu}{<2A>} + \newpsfontdot{B+}[2.3 0.0 0.0 2.3 -0.6555 -0.5819]{NimbusRomNo9L-Bold}{<2B>} + \newpsfontdot{Basterisk}[2.29358 0.0 0.0 2.29358 -0.576835 -1.08486]{NimbusRomNo9L-Bold}{<2A>} + \newpsfontdot{|}[1.98413 0.0 0.0 1.38 -0.258929 -0.5]{NimbusSanL-Regu}{(|)} + \newpsfontdot{B|}[1.98413 0.0 0.0 1.38 -0.277778 -0.5]{NimbusSanL-Bold}{(|)}% +\else + \newpsfontdot{oplus}[1.44928 0.0 0.0 1.44928 -0.562319 -0.478261]{Symbol}{<C5>} + \newpsfontdot{otimes}[1.44928 0.0 0.0 1.44928 -0.562319 -0.475362]{Symbol}{<C4>} + \newpsfontdot{x}[1.8 0.0 0.0 1.8 -0.495 -0.4788]{Symbol}{<B4>} + \newpsfontdot{+}[2.3 0.0 0.0 2.3 -0.6486 -0.5819]{Times-Roman}{<2B>} + \newpsfontdot{asterisk}[2.43309 0.0 0.0 2.43309 -0.609489 -1.14477]{Times-Roman}{<2A>} + \newpsfontdot{B+}[2.3 0.0 0.0 2.3 -0.6555 -0.5819]{Times-Bold}{<2B>} + \newpsfontdot{Basterisk}[2.29358 0.0 0.0 2.29358 -0.576835 -1.08486]{Times-Bold}{<2A>} + \newpsfontdot{|}[1.98413 0.0 0.0 1.38 -0.258929 -0.5]{Helvetica}{(|)} + \newpsfontdot{B|}[1.98413 0.0 0.0 1.38 -0.277778 -0.5]{Helvetica-Bold}{(|)}% +\fi % \newdimen\pslinearc \define@key[psset]{pstricks}{linearc}[0pt]{\pssetlength\pslinearc{#1}} @@ -4030,7 +4014,23 @@ pop \def\getref@r{\def\psk@xref{1}} \psset[pstricks]{ref=c} % -\def\pst@rotlist{ mark RAngle /ps@a ED cleartomark ps@a neg } +% +% U Up 0 +% L Left 90 +% D Down 180 +% R Right 270 +% +% N North *0 +% W West *90 +% S South *180 +% E East *270 +% +\ifPSTlualatex + \def\pst@rotlist{ mark RAngle /ps@a ED cleartomark ps@a }% +\else + \def\pst@rotlist{ mark RAngle /ps@a ED cleartomark ps@a neg }% +\fi + \def\pst@rottable{% @0=% @U=% @@ -4068,11 +4068,21 @@ pop % \def\tx@RotBegin{RotBegin } \def\tx@RotEnd{RotEnd } -\def\pst@rotate#1#2{% - \ifx#1\@empty\else - \setbox#2=\hbox{\pst@Verb{#1 \tx@RotBegin}\box#2\pst@Verb{\tx@RotEnd}}% - \fi% -} +\ifPSTlualatex + \def\pst@rotate#1#2{% + \ifx#1\@empty\else + \setbox#2=\hbox{\pst@Verb{#1 \ifPSTlualatex neg \fi\space \tx@RotBegin}\box#2\pst@Verb{\tx@RotEnd}}% + % luatex doesn't have the coordinate system of dvips, so we need negative angles + \fi + }% + \else + \def\pst@rotate#1#2{% + \ifx#1\@empty\else + \setbox#2=\hbox{\pst@Verb{#1 \ifPSTlualatex \fi\space \tx@RotBegin}\box#2\pst@Verb{\tx@RotEnd}}% + % luatex doesn't have the coordinate system of dvips, so we need negative angles + \fi + }% + \fi \def\psput@cartesian#1{% \hbox to \z@{\kern\pst@dimg{\vbox to \z@{\vss\box#1\vskip\pst@dimh}\hss}}% } @@ -4399,6 +4409,7 @@ pop \ifshowgrid\ifnum\showgridp@s=0\psgrid[style=gridstyle]\fi\fi % ----------- 1.10/12 end hv ------------------- \ignorespaces% % 2008-12-07 + \pstVerb{\pst@number\pslinewidth setlinewidth 0 setgray}% default setting \ifPst@pgffunctions\pstVerb{ pgffunctions }\fi% hv 2013-04-17 } \def\pic@coor{(0,0)(0,0)(10,10)} diff --git a/graphics/pstricks/base/latex/pstricks-pdf.sty b/graphics/pstricks/base/latex/pstricks-pdf.sty index 8fe00f7bc7..9923109fbb 100644 --- a/graphics/pstricks/base/latex/pstricks-pdf.sty +++ b/graphics/pstricks/base/latex/pstricks-pdf.sty @@ -1,4 +1,4 @@ -% $Id: pstricks-pdf.sty 25 2020-09-18 06:59:21Z herbert $ +% $Id: pstricks-pdf.sty 23 2020-09-18 06:29:04Z herbert $ %% %% This is file `pstricks-pdf.sty'. %% diff --git a/graphics/pstricks/base/latex/pstricks.sty b/graphics/pstricks/base/latex/pstricks.sty index e6189b7203..ad58f86fca 100644 --- a/graphics/pstricks/base/latex/pstricks.sty +++ b/graphics/pstricks/base/latex/pstricks.sty @@ -1,4 +1,4 @@ -% $Id: pstricks.sty 155 2021-08-23 17:27:13Z herbert $ +% $Id: pstricks.sty 181 2021-09-04 06:35:45Z herbert $ %% %% This is file `pstricks.sty'. %% @@ -84,7 +84,6 @@ \DeclareOption*{\PassOptionsToPackage\CurrentOption{\pst@ColorPackage}} \ProcessOptions\relax - %\RequirePackage{iftex} \ifpst@useCalc \RequirePackage{pst-calculate} |