[pstricks] Help with package conflict involving pst-optic and pst-3dplot

Mark Horner mark.horner at shuttleworthfoundation.org
Thu Jul 22 21:27:45 CEST 2010

Hi All

I'm trying to compile a textbook we've written on my new laptop (hence
new LaTeX install) and I am getting errors in the optics section - my
old laptop was about 5 years out of date. 

I've stripped the file down to find thw cause of the first error to this


If I only include pst-all and pst-optic then it works but for the
textbook I need pst-3dplot as well. If I include pst-3dplot and
pst-diffraction then I get this error:

! You can't use `macro parameter character #' in restricted horizontal
\in@ #1#2->\def \in@@ ##1#1##
                             2##3\in@@ {\ifx \in@ ##2\in at false \else
\in at tru...
l.21 ...rHeight=4,mirrorWidth=0.1,mirrorDepth=0.5]

The full file I've been testing the conflicts with is:

%\usepackage{pst-diffraction}  % uncommenting causes error
\usepackage{pst-3dplot}       % uncommenting causes error 

The file list output is:

 *File List*
  report.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 pst-all.sty    2008/01/01 the main pstricks tools
pstricks.sty    2010/06/16 v0.45 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2010/06/06 v2.08 `PSTricks' (tvz,hv)
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2008/08/13 v2.6a package option processing (HA)
 xkeyval.tex    2008/08/13 v2.6a key=value parser (HA)
  pst-fp.tex    2010/06/06 v2.08 `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    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-plot.sty    2010/01/22 package wrapper for pst-plot.tex
pst-plot.tex    2010/06/22 1.17 `pst-plot' (tvz,hv)
pst-node.sty    2010/04/22 package wrapper for pst-node.tex
pst-node.tex    2010/06/06 1.13 `pst-node' (tvz)
pst-tree.sty    2009/01/25 package wrapper for pst-tree.tex
pst-tree.tex    2009/02/25 1.11 `pst-tree' (tvz,hv)
pst-grad.sty    2004/07/15 package wrapper for pst-grad.tex (hv)
pst-grad.tex    2006/11/27 1.06 `pst-grad' (tvz)
pst-coil.sty    2010/02/01 package wrapper for pst-coil.tex (hv)
pst-coil.tex    2010/02/02 v1.04 `PST-coil' (tvz,hv)
pst-text.sty    2006/01/01 package wrapper for pst-text.tex (hv)
pst-text.tex    2006/11/05 1.00 `pst-text' (tvz)
  pst-3d.sty    2009/07/28 package wrapper for pst-3d.tex (hv)
  pst-3d.tex    2010/02/14 v1.11 `PST-3d' (hv)
 pst-eps.sty    2005/05/20 package wrapper for pst-eps.tex (hv)
 pst-eps.tex    2006/11/04 1.00 `pst-eps' (tvz)
pst-fill.sty    2005/09/13 package wrapper for pst-fill.tex (hv)
pst-fill.tex    2007/03/10 v1.01 `PST-fill' (tvz,dg)
pstricks-add.sty    2010/02/11 v. 0.14 package wrapper for
pstricks-add.tex (hv
pstricks-add.tex    2010/06/16 v3.41 `PSTricks-add' (hv)
 multido.sty    2004/05/17 package wrapper for PSTricks `multido.tex',
pst-optic.sty    2004/10/18 package wrapper for pst-optic.tex (hv)
pst-optic.tex    2007/01/07 v0.97 `PST-optic' (ML,hv)
pst-eucl.sty    2005/05/14 package wrapper for PSTricks pst-eucl.tex
pst-eucl.tex    2005/10/09 v1.3.4 `PST-eucl' (dr)
pst-poly.sty    2009/12/20 package wrapper for pst-poly.tex (dg,hv)
pst-poly.tex    2010/05/28 v1.62 `PST-poly' (dg,hv)
pst-spectra.sty    2005/12/17 package wrapper for pst-spectra.tex (AS)
pst-spectra.tex    2006/01/01 v0.91 `pst-spectra' (AS)
pst-slpe.sty    2005/03/05 package wrapper for `pst-slpe.tex'
pst-slpe.tex    2008/09/20 v1.3 `pst-slpe' (mg,hv)
pst-math.sty    2009/01/20 package wrapper for PSTricks pst-math.tex
pst-circ.sty    2007/12/23 package wrapper for pst-circ.tex (hv)
pst-circ.tex    2010/05/03 v1.55 `PST-circ' (CJ,hv)
pst-lens.sty    2005/09/02 package wrapper for pst-lens.tex (hv)
pst-lens.tex    2006/06/06 v1.02 `PST-lens' (hv)
pst-3dplot.sty    2010/01/01 package wrapper for pst-3dplot.tex (hv)
pst-3dplot.tex    2010/02/20 v1.92 `PST-3dplot' (hv)

Does anyone have some advice to try to fix this problem?




Mark Horner

Shuttleworth Foundation Fellow: Open and Collaborative Resources
Blog: http://markhorner.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://tug.org/pipermail/pstricks/attachments/20100722/fb505580/attachment.bin>

More information about the PSTricks mailing list