There appears to be a problem when using the pst-tree package together with the align environment and pdflatex (dvi-ps-pdf works, but there are reasons for me not to use it). Attached is a code example using the equation environment, leading to the correct result. When changing in both equations \begin{equation} to \begin{align} the second equation shows the same picture as the first equation. This is definitely not correct.
Note that upon typesetting I get the message:
Package pst-pdf Warning: `test_tree-pics.pdf' contains 4 pages
(pst-pdf) but 2 pages are requested:
(pst-pdf) File `test_tree-pics.pdf' is no more valid!
(pst-pdf) Recreate it .
[1
Non-PDF special ignored!
Non-PDF special ignored!
Non-PDF special ignored!
The file test_tree-pics.pdf appears to contains both figures twice.
Does anybody have suggestions? Is this a bug?
\documentclass[11pt]{article}
\usepackage{amsmath}
\usepackage[pdf]{pstricks}
\usepackage{pst-tree}
\newcommand{\TreeSpace}{0.7cm}
\newcommand{\RadiusMeagre}{3pt}
\newcommand{\RadiusFat}{5pt}
\begin{document}
\begin{equation}
\ddot{u} = \pstree[treemode=U,levelsep=\TreeSpace,radius=\RadiusMeagre]{\Tc*{\RadiusMeagre}}{\TC *} \,\,
\end{equation}
\begin{equation}
\dot{p} = \pstree[treemode=U,levelsep=\TreeSpace,radius=\RadiusMeagre]{\Tc{\RadiusFat}}{\TC* \TC*}
\end{equation}
\end{document}