[pstricks] Trouble with \tableofcontents, miktex2.7 and pstricks
azzam.hassan at voila.fr
azzam.hassan at voila.fr
Sun Oct 26 10:01:01 CET 2008
Hello every body
I encountred this problem (after updating from miktex2.6 to 2.7), I can't use the color package with the command table of contents. THIS worked very well with the miktex2.6 version.
The problem appears when i compile twice to obtain the table of contents (with blue color). No problem when the color is removed.
Thanks for any help.
\listfiles
\documentclass[10pt]{article}
\usepackage{color,pstricks,pstricks-add}
\begin{document}
\tableofcontents
\section{Text}
Some texts
\section{{\blue Graphics}}
Hello here {\blue is an example}
\psset{algebraic=true}
\begin{pspicture*}(-.5,-1.8)(5,4)
\psaxes{->}(0,0)(-.5,-.5)(3,4)
\psplot{0}{3}{ch(x)}
\psplot{1}{4}{Argch(x)}
\psplot{0}{3}{x}
\end{pspicture*}
\subsection{Subsection}
\end{document}
The error message is as follows
(test.toc
! Missing control sequence inserted.
<inserted text>
\inaccessible
l.2 ...group \special {ps: 0 setgray}Graphics}}{1}
*File List*
article.cls 2005/09/16 v1.4f Standard LaTeX document class
size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
color.sty 2005/11/14 v1.0j Standard LaTeX Color (DPC)
color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
dvipsnam.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pstricks.sty
pstricks-add.sty 2007/09/03 v. 0.11 package wrapper for pstricks-add.tex (hv
)
pstricks-add.tex 2008/10/13 v3.11 `PSTricks-add' (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)
***********
I think that the problem is due to the coupling between xcolor, pstrciks-family and the \tableofcontents command
Cordialement
Azzam HASSAN
____________________________________________________
Voila vous offre 1 Go d’espace pour stocker et partager photos, vidéos, mp3 et autres documents ! http://www.voila.fr/Macle/
More information about the PSTricks
mailing list