summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-07 22:12:24 +0000
committerKarl Berry <karl@freefriends.org>2019-01-07 22:12:24 +0000
commit3b440d44096a31f17207f6fffb3b1ddd6d722b60 (patch)
tree403e5cc7e8306b01aa05c07e318442f741c67d0c
parentfa3720c40955f139e3846475ff94698d483128b4 (diff)
pstricks (7jan19)
git-svn-id: svn://tug.org/texlive/trunk@49632 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news18.pdfbin74224 -> 74212 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news19.pdfbin0 -> 42448 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news19.tex121
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex72
4 files changed, 157 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
index dda81799150..00b14357432 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
new file mode 100644
index 00000000000..03d85c029d7
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
new file mode 100644
index 00000000000..9c7112d81cd
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
@@ -0,0 +1,121 @@
+%% $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
+\let\Lfile\LFile
+\usepackage{pstricks,pst-node}
+\let\pstnodeFV\fileversion
+\let\pstnodeFD\filedate
+\usepackage{pst-plot}
+\usepackage{pst-solides3d}
+\usepackage{pst-node}
+\usepackage{pst-calculate}
+\usepackage{pstricks-add}
+\usepackage{xkvview}
+\renewcommand\bgImage{\psscalebox{15}{\color{blue!20}\the\year}}
+\def\textat{\char064}
+\usepackage{dtk-logos}
+\usepackage{biblatex}
+\addbibresource{PSTricks.bib}
+
+\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}},
+ escapechar=?}
+\begin{document}
+
+%\psset{PstDebug=1}
+\title{\texttt{News -- \the\year}\\ \Large new macros and bugfixes for the
+basic package \nxLFile{pstricks}}
+\author{Herbert Voß}
+\date{\today}
+
+\maketitle
+
+\clearpage
+\tableofcontents
+
+\clearpage
+\part{\texttt{pstricks} -- package}
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.sty} -- \texttt{pstricks-pdf.sty}}
+%--------------------------------------------------------------------------------------
+
+There is now a new optional argument for the package: \Loption{ckeckengine}, which will
+be used in later versions.
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks-tex.tex}}
+%--------------------------------------------------------------------------------------
+This package collects all additional latex macros which must be definied
+when running PSTricks with tex. They all moved from the base \texttt{pstricks.tex} into
+this new file.
+
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.tex} (v. 2.93 -- 2019/01/07)}
+%--------------------------------------------------------------------------------------
+
+
+\subsection{Error message}
+
+Using PSTricks with \Lprog{pdflatex} will work only when using package
+\LPack{auto-pst-pdf} and running the \TeX-file with
+
+\begin{verbatim}
+pdflatex -shell-escape <file>
+\end{verbatim}
+
+otherwise you'll get an error message which was misleading in the past:
+
+\begin{verbatim}
+[...]
+! Undefined control sequence.
+<recently read> \c@lor@to@ps
+\end{verbatim}
+
+This changes now to
+
+
+\begin{verbatim}
+[...]
+! Undefined control sequence.
+\c@lor@to@ps ->\PSTricks
+ _Not_Configured_For_This_Format
+\end{verbatim}
+
+
+\subsection{Optional argument \texttt{xetex}}
+The output driver \Lprog{xdvipdfmx} for using \XeTeX\ or \XeLaTeX\ is not fully
+compatible to \Lprog{dvips}. Especially some node operations will not work. If the
+\LaTeX\ package detects a programm run with \XeLaTeX\ it automatically loads the file
+\Lfile{pstricks-xetex.def} which defines some macros with a new name to keep the existing
+ones. By now there is only
+\Lcs{NCput}, which is the same as \Lcs{ncput}, but works with \XeLaTeX.
+
+If someone wants to use these macros though he/she runs not \XeLaTeX\ then these macros are
+available too by using the optional argument \Loption{xetex}:
+
+\begin{verbatim}
+\usepackage[xetex]{pstricks}
+\end{verbatim}
+
+
+
+
+
+
+%--------------------------------------------------------------------------------------
+\section{\texttt{pstricks.pro}}
+%--------------------------------------------------------------------------------------
+
+
+
+\clearpage
+\nocite{*}
+\printbibliography
+
+\printindex
+
+
+\end{document}
+
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index 4d74e68c9b5..141dc02db4d 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks.tex 881 2018-12-27 09:56:29Z herbert $
+%% $Id: pstricks.tex 887 2018-12-29 13:17:59Z herbert $
%% pstricks.tex
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu.
%% COPYRIGHT 2000-2003 by Denis Girou.
@@ -71,7 +71,7 @@
}
%
\def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS@i{\ProvidesPackageRCS@i[] }}%$
-\def\ProvidesPackageRCS@i[#1] $#2${} %$
+\def\ProvidesPackageRCS@i[#1]#2{}
\ifx\pgfkeysloaded\endinput\else
\input pgfutil-common.tex
@@ -80,8 +80,8 @@
\fi
\let\pgfforeach\foreach
%
-\def\fileversion{2.92}
-\def\filedate{2018/12/27}
+\def\fileversion{2.94}
+\def\filedate{2019/01/07}
\pst@addfams{pstricks}
%
%\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -3569,6 +3569,7 @@ pop
%
\def\psellipticarc{\pst@object{psellipticarc}}
\def\psellipticarc@i{\let\if@psarcn\iffalse\psellipticarc@ii}
+
\define@boolkey[psset]{pstricks}[Pst@]{correctAngle}[true]{}
\psset{correctAngle}
@@ -3581,7 +3582,7 @@ pop
% \addbefore@par{correctAngle=false}
\pst@getangle{#3}\pst@tempc % start angle
\pst@getangle{#4}\pst@tempd % end angle
- \ifdim\pst@tempc pt=\pst@tempd pt
+ \ifx\pst@tempc\pst@tempd
\else % same angles? then do nothing
\begin@OpenObj
\pst@getcoor{#1}\pst@tempa % origin
@@ -3589,38 +3590,37 @@ pop
\addto@pscode{
\psellipticarc@definearg \psellipticarc@draw
\ifPst@variableLW \pst@flattenpath \fi
- }%
- \ifshowpoints
- \addto@pscode{
- gsave
- xOrig yOrig T % set origin to ellipse origin
- \ifx\psk@rot\@empty \else \psk@rot\space rotate \fi
- rx ry scale % now we draw a circle :-)
- 1 \pst@tempc % start angle
- \ifPst@correctAngle
- cvi 90 mod 0 eq { \pst@tempc }
- { rx abs ry abs sub cvi 0 eq { \pst@tempc }{ rx ry
- \tx@UserCoor exch \pst@tempc tan mul exch atan
- \pst@tempc 180 div 0.5 add floor
- 180 mul sub } ifelse } ifelse
- \fi
- PtoC moveto
- 0 0 lineto
- 1 \pst@tempd % end angle
- \ifPst@correctAngle
- cvi 90 mod 0 eq { \pst@tempd }
- { rx ry \tx@UserCoor exch \pst@tempd tan mul exch atan
- \pst@tempd 180 div .5 add floor 180 mul sub } ifelse
- \fi
- PtoC lineto
+ \ifshowpoints{}
+ gsave
+ xOrig yOrig T % set origin to ellipse origin
+ \ifx\psk@rot\@empty \else \psk@rot\space rotate \fi
+ rx ry scale % now we draw a circle :-)
+ 1 \pst@tempc % start angle
+ \ifPst@correctAngle
+ cvi 90 mod 0 eq { \pst@tempc }
+ { rx abs ry abs sub cvi 0 eq { \pst@tempc }{ rx ry
+ \tx@UserCoor exch \pst@tempc tan mul exch atan
+ \pst@tempc 180 div 0.5 add floor
+ 180 mul sub } ifelse } ifelse
+ \fi
+ PtoC moveto
+ 0 0 lineto
+ 1 \pst@tempd % end angle
+ \ifPst@correctAngle
+ cvi 90 mod 0 eq { \pst@tempd }
+ { rx ry \tx@UserCoor exch \pst@tempd tan mul exch atan
+ \pst@tempd 180 div .5 add floor 180 mul sub } ifelse
+ \fi
+ PtoC lineto 0 0 lineto
+ closepath
% \ifcase\psarc@type arc \or arcn \fi
- CLW 2 div SLW
- [ 1 1 \tx@UserCoor ] 0 setdash
- stroke
- grestore
- }
- \showpointsfalse
- \fi
+ CLW 3 div \pst@number\psunit div SLW
+ [ 1 1 \tx@UserCoor 2 mul ] 0 setdash
+ stroke
+ grestore
+ \fi
+ }%
+ \showpointsfalse
\end@OpenObj
\fi
}