summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/generic/pst-ode/ChangeLog5
-rw-r--r--Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdfbin123984 -> 124439 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex4
-rw-r--r--Master/texmf-dist/dvips/pst-ode/pst-ode.pro4
-rw-r--r--Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex13
5 files changed, 15 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-ode/ChangeLog b/Master/texmf-dist/doc/generic/pst-ode/ChangeLog
index 41562516d90..83d00c4b0d4 100644
--- a/Master/texmf-dist/doc/generic/pst-ode/ChangeLog
+++ b/Master/texmf-dist/doc/generic/pst-ode/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-28
+ * version 0.3
+ * fix: internal PS variables were visible outside (wrong stack
+ order)
+
2012-09-14
* version 0.2
* new: command option `algebraicOutputFormat' added
diff --git a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf
index 54bf10563ae..22b8dc5f631 100644
--- a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex
index 28d7547257c..16b7ee533a2 100644
--- a/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-ode/pst-ode-doc.tex
@@ -261,13 +261,13 @@ Since we are interested in plotting the particle positions, only the first three
\end{center}
\subsection[One more first order differential equation]{One more first order differential equation (\textattachfile{ode.tex}{ode.tex})}
-The aim of the last example is to demonstrate that precision does not depend on the number of output steps. Moreover, the integration parameter $t$ appears on the right-hand side and the solution is plotted against the integration parameter $t$.
+The aim of the last example is to demonstrate that precision does not depend on the number of output steps. We set only five output steps and plot the analytical solution against the numerical one for comparison. In this example, the integration parameter $t$ appears on the right-hand side of the ODE as well as in the output format description, since the solution $y$ shall be plotted against $t$.
The equation to be solved here reads
\begin{equation}
y'=-2xy.
\end{equation}
-For $y(-1)=1/e$ the analytical solution is
+With the initial condition $y(-1)=1/e$ the analytical solution is
\begin{equation}
y(x)=e^{-x^2}.
\end{equation}
diff --git a/Master/texmf-dist/dvips/pst-ode/pst-ode.pro b/Master/texmf-dist/dvips/pst-ode/pst-ode.pro
index cc9f66cb427..1677e23a6bd 100644
--- a/Master/texmf-dist/dvips/pst-ode/pst-ode.pro
+++ b/Master/texmf-dist/dvips/pst-ode/pst-ode.pro
@@ -1,9 +1,9 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% PostScript prologue for pst-ode.tex.
-% Version 0.2, 2012/09/14
+% Version 0.3, 2013/10/28
%
-% Alexander Grahn (C) 2012
+% Alexander Grahn (C) 2012, 2013
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN archives
diff --git a/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex b/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex
index 44c7eaeffc7..b183a7742d7 100644
--- a/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex
+++ b/Master/texmf-dist/tex/generic/pst-ode/pst-ode.tex
@@ -1,7 +1,7 @@
%%
%% This is file `pst-ode.tex',
%%
-%% Alexander Grahn, (C) 2012
+%% Alexander Grahn, (C) 2012, 2013
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
@@ -11,8 +11,8 @@
%% ODEs using the Runge-Kutta-Fehlberg (RKF45) method with automatic
%% step size adjustment
%%
-\def\fileversion{0.2}
-\def\filedate{2012/09/14}
+\def\fileversion{0.3}
+\def\filedate{2013/10/28}
\csname PSTODELoaded\endcsname
\let\PSTODELoaded\endinput
@@ -125,7 +125,7 @@
\ifPst@algebraic
/ode@rpn (\expandafter\ode@zapspace\ode@arg\@nil) AlgParser cvx bind def
/ODESET {%system of ODEs
- tx@Dict begin /x exch def /y x def ode@rpn end xlength array astore
+ /x exch def /y x def tx@Dict begin ode@rpn end xlength array astore
} bind def
\else
/ODESET {
@@ -137,9 +137,8 @@
\ifPst@algebraicOutputFormat
/ode@fmtrpn (\expandafter\ode@zapspace\ode@fmt\@nil) AlgParser cvx bind def
/formatoutput {%
- tx@Dict begin
- ode@laststate /x exch def /y x def /t tcur def ode@fmtrpn
- end
+ ode@laststate /x exch def /y x def /t tcur def
+ tx@Dict begin ode@fmtrpn end
} bind def
\else /formatoutput {[#2] assembleresult} def \fi%
%perform ode integration