[pstricks] /undefined in Div

Manfred Braun manfred.braun at uni-due.de
Fri Oct 16 15:39:38 CEST 2015


When calling the TAN function of pst-math it may happen that there is no access to the internal Div operator, see the following minimal example:

\listfiles
\documentclass{article}
\usepackage{pstricks, pst-math}
\begin{document}
  \begin{pspicture}(1,1)
    \SpecialCoor
    \pstVerb{ 0 TAN /result exch def }
%    \pstVerb{ /result { 0 TAN } def }
    \psdot(! result 0 )
\end{pspicture}
\end{document}

Error: /undefined in Div
Operand stack:
   0.0   1.0

The problem doesn’t appear in the alternative (commented out) version. I am working on an iMac under Yosemite with TeXShop 3.57.

*File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
pstricks.sty    2013/12/12 v0.60 LaTeX wrapper for `PSTricks' (RN,HV)
   ifpdf.sty    2011/01/30 v2.3 Provides the ifpdf switch (HO)
pstricks.tex    2014/05/19 v2.54a `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2014/05/09 v2.6d package option processing (HA)
 xkeyval.tex    2014/05/09 v2.6d key=value parser (HA)
  pst-fp.tex    2014/05/19 v2.54a `PST-fp' (hv)
  xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
   color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   dvips.def    2014/04/23 v3.0j Driver-dependant file (DPC,SPQR)
pst-math.sty    2009/01/20 package wrapper for PSTricks pst-math.tex
 ***********

What can be the reason?

Manfred

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20151016/2c19fa62/attachment.html>


More information about the PSTricks mailing list