[pstricks] Clash between memoir and pst-pdf?

Alan Ristow ristow at ece.gatech.edu
Mon Feb 25 23:40:02 CET 2008

Hi all,

I have a document that uses memoir and pst-pdf for which I get an error 
during the pdfLaTeX run when I use a psmatrix in a subfigure using 
memoir's built-in commands for generating subfigures. The error only 
arises when using pdfLaTeX -- regular LaTeX runs work fine both with and 
without \usepackage{pst-pdf}. I seem to recall some issues with pst-pdf 
and psmatrix in the past, but the information I've been able to dig up 
on them has not been helpful.

The error, a minimal example, and my file list follow.



ERROR: Misplaced alignment tab character &.

--- TeX said ---
<argument> ... {psmatrix}[rowsep=2.2,colsep=2] A &
                                                    B & C \\ & D & E 
\end {ps...
l.19 }




       A & B & C \\
       & D & E

  *File List*
   memoir.cls    2005/09/25 v1.618 configurable document class
    mem10.clo    2002/07/27 v0.2 memoir class 10pt size option
mempatch.sty    2007/12/24 v4.9a Patches for memoir class v1.618
pstricks.sty    2008/01/24 v0.37 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2008/01/01 v1.20 `PSTricks' (tvz)
   xcolor.sty    2007/01/21 v2.11 LaTeX color extensions (UK)
    color.cfg    2007/01/18 v1.5 color configuration of teTeX/TeXLive
   pdftex.def    2007/06/12 v0.04h Graphics/color for pdfTeX
pst-node.sty    2006/01/01 package wrapper for pst-node.tex
pst-node.tex    2000/11/09 97 patch 11 `pst-node' (tvz)
  pst-pdf.sty    2007/06/04 v1.1p PS graphics for pdfLaTeX (RN,HjG)
graphicx.sty    1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
   keyval.sty    1999/03/16 v1.13 key=value parser (DPC)
graphics.sty    2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
     trig.sty    1999/03/16 v1.09 sin cos tan (DPC)
graphics.cfg    2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
  preview.sty    2006/08/25 11.84 (AUCTeX/preview-latex)
    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
test-pics.pdf    Graphic file (type pdf)

More information about the PSTricks mailing list