However, if I use include the pst-plot package then xdvi has problems placing text in figures.
A minimal example:
Code: Select all
\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-plot}
\begin{document}
\begin{pspicture}(0,0)(2,2)
\psline(0,0)(2,2)
\cput(1,1){Hello}
\end{pspicture}
\end{document}
\cput
is placed in the correct place, but "Hello" is put at the bottom of the figure. However, when I comment out the package pst-plot then the text is put in the correct place. Once I process the file with dvips -> ps2pdf then everything is ok. The same thing happens with pst-poly or pst-node (I haven't tried any others).
Anyone have any ideas how to resolve this, or should I report it as a bug? And is it a bug with pst-plot etc, or with xdvi?
Thanks
James
This happens on both Mac OSX 10.6.8 and Linux KUbuntu 13.04
EDIT:
If I write
\cput(1,1){\psline(0,0)(1,0)}
(or
\rput
) it works fine. So it's an issue with placing text.