[pstricks] Fraction line missing when using \pstextpath

Nikos Apostolakis nikos.ap at gmail.com
Fri Dec 7 18:28:42 CET 2007

Hello list,

using the following source:

--- 8< -----
\documentclass[11pt]{minimal}
\usepackage{amsmath,amsthm,amssymb,amsfonts}

\begin{document}

\thispagestyle{empty}
\colorbox{white}{%%
\psset{unit=4cm}
\begin{pspicture}(-.7,-.8)(1.5,1)
\psline[linestyle=dashed,linecolor=red](0,-.4)(0,.7)
\psline[linestyle=dashed,linecolor=red](-.4,0)(1.3,0)
\psline[linestyle=dashed,linecolor=red](0,0)(0.63,0.63)
\psset{polarplot=true}
\pscustom[linecolor=black,fillstyle=solid,fillcolor=yellow]{%
\psline(0,0)(0.3960499,.3960499)
\psplot{45}{90}{1 0.0174532925199 x mul 1 add div}
\psline(0,0.388984529648)(0,0)
}%
\psplot[linecolor=blue,plotpoints=200]{0}{360}{1 0.0174532925199 x mul 1
\rput(-.5,.1){\red $\theta=\pi$}
\rput(1.3,.1){\red $\theta=0$}
\rput(0,.87){\red $\theta= \dfrac{\pi}{2}$}
\rput(0,-.6){\red $\theta= \dfrac{3\pi}{2}$}
\pstextpath{\psline[linestyle=none](0.66,0.66)(0.91923881554251174,0.91923881554251174)}
{\red $\theta = \dfrac{\pi}{4}$}
\end{pspicture}
}%
\end{document}
----- 8< -----

I get the following figure:

http://xrl.us/nikosap/tmp/pst-ex.eps

notice that the fraction line for pi/4 is missing.  I got this in Debian
testing/unstable giving the command:

dvips -E pst-ex.dvi -o pst-ex.eps

What am I doing wrong?

TIA,
Nikos