[pstricks] pst-lens problem

Dieter Grass dieter.grass at tuwien.ac.at
Tue Jun 6 20:11:34 CEST 2006


Dear All,
I'm using Miktex and tried to include the lens effect of pst-lens. Therefore
I started with the example given in the book "PSTricks" by Herbert Voss:

-- snip --
\documentclass[11pt,draft]{book}

\usepackage{pstricks}
\usepackage{pst-lens}

\begin{document}
\def\Wishes{{%
    \rput[lb](0,0){%
      \Large\begin{minipage}{3cm}\centering
        \textbf{Alles Gute}\\\textbf{Jana},
        \\ fuer dieses neue Jahr\\\Huge 2006!
      \end{minipage}}}}

\begin{pspicture}(0,-1.5)(3,4)
\Wishes
\PstLens[LensMagnification=2,LensSize=2](2,2){\Wishes}
\end{pspicture}
\end{document}
-- snap --

But when I run latex I receive the following (error) messages in the log
file

-- snip --
File: pstricks.tex 2006/02/06 v1.14a `PSTricks' (tvz)

(D:\tools\texmf\tex\latex\xcolor\xcolor.sty
Package: xcolor 2005/06/06 v2.03 LaTeX color extensions (UK)

(D:\tools\texmf\tex\latex\00miktex\color.cfg
File: color.cfg 2003/03/08 v1.0 MiKTeX 'color' configuration
)
Package xcolor Info: Package option `override' ignored on input line 157.
Package xcolor Info: Driver file: dvips.def on input line 166.

(D:\tools\texmf\tex\latex\graphics\dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
)
Package xcolor Info: Color model `cmy' added on input line 1117.
Package xcolor Info: Color model `RGB' extended on input line 1140.
Package xcolor Info: Color model `HTML' added on input line 1151.
Package xcolor Info: Color model `HSB' added on input line 1157.
Package xcolor Info: Color model `Gray' added on input line 1163.
))
(D:\tools\texmf\tex\latex\pstricks\pst-lens.sty
Package: pst-lens 2005/09/02 package wrapper for pst-lens.tex (hv)

(D:\tools\texmf\tex\generic\pstricks\pst-lens.tex
(D:\tools\texmf\tex\generic\pstricks\pst-grad.tex  v1.04, 2004/06/24)
(D:\tools\texmf\tex\generic\xkeyval\pst-xkey.tex
File: pst-xkey.tex 2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)

(D:\tools\texmf\tex\latex\xkeyval\xkeyval.sty
Package: xkeyval 2005/11/25 v2.5e package option processing (HA)

(D:\tools\texmf\tex\generic\xkeyval\xkeyval.tex
\XKV at toks=\toks17
\XKV at depth=\count94
File: xkeyval.tex 2005/11/25 v2.5e key=value parser (HA)

(D:\tools\texmf\tex\generic\xkeyval\keyval.tex))))
`PST-Lens' v1.01, 2005/09/03 (Denis Girou and Manuel Luque)
\PstLens at HandleWidth=\dimen118
)
File: pst-lens.tex 2005/09/03 v1.01 `PST-lens' (hv)
) (dct.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 17.
LaTeX Font Info:    ... okay on input line 17.

(chapter2/dct_chapter2_lens.ltx
Missing character: There is no ü in font cmr12!
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <14.4> on input line 9.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 9.

! Undefined control sequence.
<argument> \ifPstLens at Handle \scalebox
                                       {\PstLens at Size }{\divide
\PstLens at Han...
l.10 ...sMagnification=2,LensSize=2](2,2){\Wishes}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

! Undefined control sequence.
<argument> \scalebox
                     {\PstLens at Magnification }{\Wishes }
l.10 ...sMagnification=2,LensSize=2](2,2){\Wishes}

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
-- snap --

I upgraded to the newest packages for pst-lens and xkeyval as I read that
otherwise problems with these packages can arise. Nevertheless the problems
remain and I didn't find or see any hint in the list archive to solve the
problem.

Any comment is welcomed. Thanks

Dieter Grass




More information about the PSTricks mailing list