[pstricks] package loading sequence pstricks-add vs pst-optic

Patrick Drechsler patrick.drechsler at gmx.net
Sat Oct 23 15:49:49 CEST 2004


Hi,

just thought I should share this. When testing the minimal
example below I receive an error when the package pstricks-add is
loaded _before_ the package pst-optic. The other way around is
fine.

--8<------------------------schnipp------------------------->8---
\documentclass[a4paper]{scrartcl}
\usepackage{pst-optic}
\usepackage{pstricks-add}
\begin{document}
\begin{pspicture}(5,5)
  \psaxes[tickstyle=bottom]{->}(5,5)
\end{pspicture}
\end{document}
--8<------------------------schnapp------------------------->8---

Here's the error message (nice wording, BTW ;) ) with reversed
loading sequence:

,----
| ERROR: keyval: xticksize undefined.
| 
| --- TeX said ---
| \KV at err #1->\errmessage {keyval: #1}
|                                     
| l.8 \end
|         {pspicture}
| --- HELP ---
| From the .log file...
| 
| This error message was generated by an \errmessage
| command, so I can't give any explicit help.
| Pretend that you're Hercule Poirot: Examine all clues,
| and deduce the truth by order and method.
`----

,----
|  *File List*
|     junk.tex
| scrartcl.cls    2002/09/18 v2.9j LaTeX2e KOMA document class
| scrlfile.sty    2002/09/18 v2.9j LaTeX2e KOMA package
|   size11.clo    2001/04/21 v1.4e Standard LaTeX file (size option)
| typearea.sty    2002/09/18 v2.9j LaTeX2e KOMA package
| pst-optic.sty    2003/01/23 package wrapper for PSTricks pst-optic.tex
| pstricks-add.sty    2004/07/18 package wrapper for pstricks-add.tex (hv)
| pstricks.sty    2004/05/12 v0.2l LaTeX wrapper for `PSTricks' (RN,HV)
|   xcolor.sty    2004/07/04 v2.00 LaTeX color extensions (UK)
|    color.cfg    2001/08/31 v1.1 color configuration of teTeX/TeXLive
|    dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
| pstricks-add.tex    2004/10/16 v2.18 `PSTricks-add' (hv)
`----

Is this a bug or a feature? In case the latter holds true: Maybe
adding a sentence like

"When loading multiple pstricks packages the pstricks-add package
should be loaded last."

to pstricks-add-doc would help (IMHO).

Cheers

Patrick
-- 
I wish dialog boxes had a button saying "Whatever".  I hate being
forced to answer "Yes" or "No" to a question I have no opinion on
whatsoever.  There ought to be a button matching my indifference.




More information about the PSTricks mailing list