summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-21 00:25:48 +0000
committerKarl Berry <karl@freefriends.org>2017-02-21 00:25:48 +0000
commita15b58312c777165dfb7541171c9299206f16bad (patch)
tree771688705291ffbc7421bc7651c4b7b76605d8a4 /Master/texmf-dist/tex
parent412da490d9754458e0cb477df83c2eb5c37d44d0 (diff)
pst-tree (20feb17)
git-svn-id: svn://tug.org/texlive/trunk@43272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/generic/pst-tree/pst-tree.tex25
1 files changed, 22 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-tree/pst-tree.tex b/Master/texmf-dist/tex/generic/pst-tree/pst-tree.tex
index 84c0aabee24..24b0fd54051 100644
--- a/Master/texmf-dist/tex/generic/pst-tree/pst-tree.tex
+++ b/Master/texmf-dist/tex/generic/pst-tree/pst-tree.tex
@@ -1,7 +1,7 @@
%% $Id: pst-tree.tex 466 2011-02-28 17:13:11Z herbert $
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu.
%% COPYRIGHT 2000-2003 by Denis Girou.
-%% Copyright 2004-2011 Herbert Voss
+%% Copyright 2004- Herbert Voss
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -24,8 +24,8 @@
\ifx\PSTnodesLoaded\endinput\else\input pst-node.tex\fi\relax
\ifx\PSTXKeyLoaded\endinput\else\input pst-xkey \fi
%
-\def\fileversion{1.12}
-\def\filedate{2011/02/28}
+\def\fileversion{1.13}
+\def\filedate{2017/02/18}
\message{ v\fileversion, \filedate (tvz,dg,hv)}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -422,6 +422,13 @@
\pst@dimb=\pst@cntg sp
\pstree@showbbox
\fi
+ \ifPst@draft
+ \pstree@max\pstree@leftprofile\pst@cntg
+ \pst@dima=\pst@cntg sp
+ \pstree@max\pstree@rightprofile\pst@cntg
+ \pst@dimb=\pst@cntg sp
+ \pstree@draft
+ \fi
\dp\pstree@box=\z@
\ht\pstree@box=\z@
\pstree@restorevalues
@@ -551,6 +558,13 @@
\pst@dimd=\pst@cntg sp
\pstree@showbbox
\fi
+ \ifPst@draft
+ \pstree@max\pstree@upprofile\pst@cntg
+ \pst@dimc=\pst@cntg sp
+ \pstree@max\pstree@downprofile\pst@cntg
+ \pst@dimd=\pst@cntg sp
+ \pstree@draft
+ \fi
\pstree@restorevalues
\pssubtree@horizontal
\endgroup
@@ -686,6 +700,11 @@
(-\pst@dima,-\pst@dimd)(\pst@dimb,\pst@dimc)%
\box\pstree@box}}%
%
+\def\pstree@draft{%
+ \setbox\pstree@box=\hbox{%
+ \psframe[linewidth=0,linecolor=black,linestyle=solid,fillstyle=none]%
+ (-\pst@dima,-\pst@dimd)(\pst@dimb,\pst@dimc)}}%
+%
\define@key[psset]{pst-tree}{edge}[\ncline]{%
\def\psedge{#1}%
\ifx\psedge\@none\def\psedge##1##2{}\fi}