summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-12-09 23:18:21 +0000
committerKarl Berry <karl@freefriends.org>2014-12-09 23:18:21 +0000
commit54709c78e04108450e0dc9f08277c7c9bf11db6c (patch)
treea441d97fe4e0e5c76854310931d0a247b37213da /Master/texmf-dist
parent3ad5daddebe775a97446de745751a44518fa11ef (diff)
pstricks-add (9dec14)
git-svn-id: svn://tug.org/texlive/trunk@35772 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes3
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin5062733 -> 5189609 bytes
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex41
3 files changed, 29 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index 06ed4924c88..3f5561567cc 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,4 +1,4 @@
-%% $Id: Changes 134 2014-11-29 21:09:24Z herbert $
+%% $Id: Changes 136 2014-12-08 20:07:44Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY
@@ -39,6 +39,7 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (hv)
+ v 3.77 2014-12-08 - fix bug with sup/inf for \psStep
v 3.76 2014-11-29 - fix bug with color setting and \psrotate
v 3.75 2014-07-22 - use \pcline instead of \psline for \psRelLine
and \psParallelLine
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index aa3c893ab3d..b4eaa746789 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
index 124a8819b0d..56d9ef30979 100644
--- a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
+++ b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add.tex 135 2014-11-30 08:28:22Z herbert $
+%% $Id: pstricks-add.tex 137 2014-12-08 20:17:43Z herbert $
%%
%% This is file `pstricks-add.tex',
%%
@@ -30,8 +30,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\PSTmathLoaded\endinput\else \input pst-math \fi
%
-\def\fileversion{3.76}
-\def\filedate{2014/11/29}
+\def\fileversion{3.77}
+\def\filedate{2014/12/08}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -1377,12 +1377,18 @@ a add
\or % 3->inf(imum)
x scx 0 moveto
#3 {
- \ifPst@algebraic Func \else #4 \fi /y0 ED % left value f(x)
- /xOld x def
- /x x dx add def
- \ifPst@algebraic Func \else #4 \fi /y1 ED % right value f(x+dx)
- y0 y1 lt { y0 }{ y1 } ifelse % use infimum
- scy dup xOld scx exch \ifPst@noVerticalLines moveto \else lineto \fi
+ \ifPst@algebraic Func \else #4 \fi /yMin ED % Max value f(x)
+ /xStart x def
+ /xEnd xStart dx add def
+ /DX dx 100 div def
+ xStart DX xEnd {
+ /x ED
+ \ifPst@algebraic Func \else #4 \fi /yVal ED
+ yVal yMin lt { /yMin yVal def } if
+ } for
+% y0 y1 gt { y0 }{ y1 } ifelse % use supremum
+ /x xEnd def
+ yMin scy dup xStart scx exch \ifPst@noVerticalLines moveto \else lineto \fi
x scx exch lineto
x scx 0 \ifPst@noVerticalLines moveto \else lineto \fi
closepath x scx 0 moveto
@@ -1390,11 +1396,18 @@ a add
\or % 4-> sup(remum)
x scx 0 moveto
#3 {
- \ifPst@algebraic Func \else #4 \fi /y0 ED % left value f(x)
- /x x dx add def
- \ifPst@algebraic Func \else #4 \fi /y1 ED % right value f(x+dx)
- y0 y1 gt { y0 }{ y1 } ifelse % use supremum
- scy dup x dx sub scx exch \ifPst@noVerticalLines moveto \else lineto \fi
+ \ifPst@algebraic Func \else #4 \fi /yMax ED % Max value f(x)
+ /xStart x def
+ /xEnd xStart dx add def
+ /DX dx 100 div def
+ xStart DX xEnd {
+ /x ED
+ \ifPst@algebraic Func \else #4 \fi /yVal ED
+ yVal yMax gt { /yMax yVal def } if
+ } for
+% y0 y1 gt { y0 }{ y1 } ifelse % use supremum
+ /x xEnd def
+ yMax scy dup xStart scx exch \ifPst@noVerticalLines moveto \else lineto \fi
x scx exch lineto
x scx 0 \ifPst@noVerticalLines moveto \else lineto \fi
closepath x scx 0 moveto