texlive[49632] Master/texmf-dist: pstricks (7jan19)

commits+karl at tug.org commits+karl at tug.org
Mon Jan 7 23:12:25 CET 2019


Revision: 49632
          http://tug.org/svn/texlive?view=revision&revision=49632
Author:   karl
Date:     2019-01-07 23:12:24 +0100 (Mon, 07 Jan 2019)
Log Message:
-----------
pstricks (7jan19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
    trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex

Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
===================================================================
(Binary files differ)

Added: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf	2019-01-07 22:12:07 UTC (rev 49631)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf	2019-01-07 22:12:24 UTC (rev 49632)

Property changes on: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex	2019-01-07 22:12:24 UTC (rev 49632)
@@ -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 at lor@to at ps 
+\end{verbatim}
+
+This changes now to 
+
+
+\begin{verbatim}
+[...]
+! Undefined control sequence.
+\c at lor@to at 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}
+


Property changes on: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news19.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2019-01-07 22:12:07 UTC (rev 49631)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2019-01-07 22:12:24 UTC (rev 49632)
@@ -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 at nwu.edu.
 %% COPYRIGHT 2000-2003 by Denis Girou.
@@ -71,7 +71,7 @@
 }
 %
 \def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS at i{\ProvidesPackageRCS at i[] }}%$
-\def\ProvidesPackageRCS at i[#1] $#2${} %$
+\def\ProvidesPackageRCS at 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 at addfams{pstricks}
 %
 %\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -3569,6 +3569,7 @@
 %
 \def\psellipticarc{\pst at object{psellipticarc}}
 \def\psellipticarc at i{\let\if at psarcn\iffalse\psellipticarc at ii}
+
 \define at boolkey[psset]{pstricks}[Pst@]{correctAngle}[true]{}
 \psset{correctAngle}
 
@@ -3581,7 +3582,7 @@
 %  \addbefore at par{correctAngle=false}
   \pst at getangle{#3}\pst at tempc	%	start angle
   \pst at getangle{#4}\pst at tempd	% 	end angle
-  \ifdim\pst at tempc pt=\pst at tempd pt
+  \ifx\pst at tempc\pst at tempd
   \else % same angles? then do nothing
     \begin at OpenObj
     \pst at getcoor{#1}\pst at tempa    %	origin
@@ -3589,38 +3590,37 @@
       \addto at pscode{ 
         \psellipticarc at definearg \psellipticarc at draw
         \ifPst at variableLW \pst at flattenpath \fi 
-      }%
-      \ifshowpoints
-      \addto at pscode{
-      gsave
-      xOrig yOrig T % set origin to ellipse origin
-      \ifx\psk at rot\@empty \else \psk at rot\space rotate \fi
-      rx ry scale   % now we draw a circle :-)
-      1 \pst at tempc  % start angle
-      \ifPst at correctAngle
-       cvi 90 mod 0 eq { \pst at tempc } 
-         { rx abs ry abs sub cvi 0 eq { \pst at tempc }{ rx ry
-           \tx at UserCoor exch \pst at tempc tan mul exch atan 
-            \pst at tempc 180 div 0.5 add floor 
-            180 mul sub } ifelse } ifelse
+      \ifshowpoints{}
+          gsave
+          xOrig yOrig T % set origin to ellipse origin
+          \ifx\psk at rot\@empty \else \psk at rot\space rotate \fi
+          rx ry scale   % now we draw a circle :-)
+          1 \pst at tempc  % start angle
+          \ifPst at correctAngle
+            cvi 90 mod 0 eq { \pst at tempc } 
+             { rx abs ry abs sub cvi 0 eq { \pst at tempc }{ rx ry
+               \tx at UserCoor exch \pst at tempc tan mul exch atan 
+               \pst at tempc 180 div 0.5 add floor 
+               180 mul sub } ifelse } ifelse
+          \fi
+        PtoC moveto 
+        0 0 lineto 
+        1 \pst at tempd % end angle
+        \ifPst at correctAngle
+          cvi 90 mod 0 eq { \pst at tempd } 
+           { rx ry \tx at UserCoor exch \pst at tempd tan mul exch atan 
+             \pst at tempd 180 div .5 add floor 180 mul sub } ifelse 
+        \fi
+        PtoC lineto 0 0 lineto 
+        closepath
+   %  \ifcase\psarc at type arc \or arcn \fi
+        CLW 3 div \pst at number\psunit div SLW 
+        [ 1 1 \tx at UserCoor 2 mul ] 0 setdash 
+        stroke
+        grestore 
       \fi
-      PtoC moveto 
-      0 0 lineto 
-      1 \pst at tempd % end angle
-      \ifPst at correctAngle
-       cvi 90 mod 0 eq { \pst at tempd } 
-         { rx ry \tx at UserCoor exch \pst at tempd tan mul exch atan 
-            \pst at tempd 180 div .5 add floor 180 mul sub } ifelse 
-      \fi
-      PtoC lineto
-   %  \ifcase\psarc at type arc \or arcn \fi
-      CLW 2 div SLW 
-      [ 1 1 \tx at UserCoor ] 0 setdash 
-      stroke
-      grestore 
-    }
-    \showpointsfalse
-    \fi
+    }%
+      \showpointsfalse
     \end at OpenObj
   \fi
 }



More information about the tex-live-commits mailing list