texlive[49486] Master/texmf-dist: pstricks (23dec18)

commits+karl at tug.org commits+karl at tug.org
Mon Dec 24 00:03:57 CET 2018


Revision: 49486
          http://tug.org/svn/texlive?view=revision&revision=49486
Author:   karl
Date:     2018-12-24 00:03:56 +0100 (Mon, 24 Dec 2018)
Log Message:
-----------
pstricks (23dec18)

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

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def

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

Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex	2018-12-23 15:28:08 UTC (rev 49485)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.tex	2018-12-23 23:03:56 UTC (rev 49486)
@@ -14,6 +14,7 @@
 \usepackage{xkvview}
 \renewcommand\bgImage{\psscalebox{15}{\color{blue!20}\the\year}}
 \def\textat{\char064}
+\usepackage{dtk-logos}
 \usepackage{biblatex}
 \addbibresource{PSTricks.bib}
 
@@ -148,6 +149,26 @@
 The random counter can be initialized with \verb|\pstVerb{rrand srand}|.
 
 
+\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}}
 %--------------------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2018-12-23 15:28:08 UTC (rev 49485)
+++ trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro	2018-12-23 23:03:56 UTC (rev 49486)
@@ -1,4 +1,4 @@
-% $Id: pstricks.pro 838 2018-11-14 19:00:45Z herbert $
+% $Id: pstricks.pro 872 2018-12-21 20:39:31Z herbert $
 %
 %% PostScript prologue for pstricks.tex.
 %% Version 1.30, 2018/12/17

Added: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def	2018-12-23 23:03:56 UTC (rev 49486)
@@ -0,0 +1,34 @@
+%% $Id: pstricks-xetex.def 872 2018-12-21 20:39:31Z herbert $
+%%
+%% Copyright 2019-  Herbert Voss
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+%   http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2003/12/01 or later.
+%
+% The xdvipdfmx driver does not support all node macros. In the following
+% there are alternatives defined:
+%
+%%  \ncput -> \NCput
+%
+\def\NCput{\pst at object{NCput}}
+\def\NCput at i#1{%
+  \begingroup
+  \use at par
+  \pst at getcoor{@@A}\pst at tempA% defined by \pcline and \ncline
+  \pst at getcoor{@@B}\pst at tempB
+  \if at star\def\next{\rput*}\else\def\next{\rput}\fi
+  \next(!
+  	  \pst at tempA /yA ED /xA ED
+  	  \pst at tempB /yB ED /xB ED
+  	  xA xB add 2 div
+  	  yA yB add 2 div \tx at UserCoor){#1}
+  \endgroup
+  \ignorespaces
+}
+%%
+%% END: pstricks-xetex.def


Property changes on: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def
___________________________________________________________________
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	2018-12-23 15:28:08 UTC (rev 49485)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2018-12-23 23:03:56 UTC (rev 49486)
@@ -1,4 +1,4 @@
-%% $Id: pstricks.tex 869 2018-12-16 12:19:43Z herbert $
+%% $Id: pstricks.tex 872 2018-12-21 20:39:31Z herbert $
 %% pstricks.tex
 %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz at nwu.edu.
 %% COPYRIGHT 2000-2003 by Denis Girou.
@@ -80,8 +80,8 @@
 \fi
 \let\pgfforeach\foreach
 %
-\def\fileversion{2.90}
-\def\filedate{2018/12/17}
+\def\fileversion{2.90a}
+\def\filedate{2018/12/22}
 \pst at addfams{pstricks}
 %
 %\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}

Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2018-12-23 15:28:08 UTC (rev 49485)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pstricks.sty	2018-12-23 23:03:56 UTC (rev 49486)
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 736 2018-02-26 08:04:35Z herbert $
+% $Id: pstricks.sty 872 2018-12-21 20:39:31Z herbert $
 %%
 %% This is file `pstricks.sty'.
 %%
@@ -6,9 +6,9 @@
 %%
 %% pstricks.sty Copyright (C) 1997 Timothy Van Zandt
 %% pstcol.sty   Copyright (C) 1994-1996 1999 David Carlisle
-%% pstricks.sty Copyright (C) 2004-2016 Rolf Niepraschk <Rolf.Niepraschk at gmx.de>
+%% pstricks.sty Copyright (C) 2004-     Rolf Niepraschk <Rolf.Niepraschk at gmx.de>
 %%                                      Herbert Voss <hvoss at tug.org>
-%%                            2018-     Herbert Voss <hvoss at tug.org>
+%%                            2019-     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.
@@ -17,7 +17,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 
-\ProvidesPackage{pstricks}[2018/02/08 v0.68 LaTeX wrapper for `PSTricks' (RN,HV)]
+\ProvidesPackage{pstricks}[2018/12/21 v0.69 LaTeX wrapper for `PSTricks' (RN,HV)]
 % 
 \def\documentclass{%
   \edef\@tempa{\jobname.tex }%
@@ -39,9 +39,11 @@
 %
 \newif\ifpst at psfonts  \pst at psfontsfalse
 \newif\if at check@engine  \@check at enginetrue 
+\newif\ifpst at xetex  \pst at xetexfalse
 
 \DeclareOption{psfonts}{\pst at psfontstrue}
 \DeclareOption{noEngineCheck}{\@check at enginefalse}
+\DeclareOption{xetex}{\global\pst at xetextrue}
 %
 %---------------------------------DISTILLER --------------------------------
 \newif\ifpst at distiller\pst at distillerfalse
@@ -75,6 +77,7 @@
 \DeclareOption*{\PassOptionsToPackage\CurrentOption{\pst at ColorPackage}}
 \ProcessOptions\relax
 
+
 \RequirePackage{iftex}
 \RequirePackage{shellesc}
 %\ifPDFTeX
@@ -233,5 +236,12 @@
 %  \let\pst at color=\relax%
 % LaTeX used `\color at endgroup' instead. RN 2004-05-06
 }
+\pst at cntm=0
+\ifXeTeX\pst at cntm=1\else\ifpst at xetex\pst at cntm=1\fi\fi
+
+\ifnum\pst at cntm>\z@
+  \typeout{>>> Loading XeTeX special macros}%
+  \input{pstricks-xetex.def}%
+\fi
 %
 %% End of file `pstricks.sty'.



More information about the tex-live-commits mailing list