summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-23 23:03:56 +0000
committerKarl Berry <karl@freefriends.org>2018-12-23 23:03:56 +0000
commit5b38ea096283729f26d79088180038e9ca575faf (patch)
tree7c48bb2ec21c9ed03228de0ad112dba28518a500 /Master/texmf-dist/tex/generic/pstricks
parent5d2dcd21fe1a9dab2e0922eece7f14db3d4901e0 (diff)
pstricks (23dec18)
git-svn-id: svn://tug.org/texlive/trunk@49486 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def34
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex6
2 files changed, 37 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def b/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def
new file mode 100644
index 00000000000..8e9efc20260
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks-xetex.def
@@ -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@object{NCput}}
+\def\NCput@i#1{%
+ \begingroup
+ \use@par
+ \pst@getcoor{@@A}\pst@tempA% defined by \pcline and \ncline
+ \pst@getcoor{@@B}\pst@tempB
+ \if@star\def\next{\rput*}\else\def\next{\rput}\fi
+ \next(!
+ \pst@tempA /yA ED /xA ED
+ \pst@tempB /yB ED /xB ED
+ xA xB add 2 div
+ yA yB add 2 div \tx@UserCoor){#1}
+ \endgroup
+ \ignorespaces
+}
+%%
+%% END: pstricks-xetex.def
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index 3934d1b1111..e5bcb18202f 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 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@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@addfams{pstricks}
%
%\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}