[pstricks] Sketching the graph of the tangent function

Herbert Voss LaTeX at zedat.fu-berlin.de
Sat Oct 14 22:58:03 CEST 2006



Paul Smith wrote:
> On 10/14/06, Herbert Voss <LaTeX at zedat.fu-berlin.de> wrote:
> 
>> > The above example works fine with latex+dvips. However, with
>> > pst-pdf+ps4pdf, I get the following error:
>> >
>> > «(/usr/share/texmf/tex/context/base/supp-mis.tex
>> > loading : Context Support Macros / Miscellaneous (2004.10.26)
>> > )
>> > loading : Context Support Macros / PDF (2004.03.26)
>> > )
>> > Preview: Fontsize 12pt
>> > Preview: PDFoutput 1
>> > ! Undefined control sequence.
>> > \c at lor@to at ps ...name c at lor@ps@#1\endcsname #2 \@@
>> >
>> > l.30 \psline[linestyle=dashed, dash=3pt 2pt](
>> >                                              
>> -4.712389,-3.5)(-4.712389,3.5)
>> > ?
>> > ! Emergency stop.
>> > \c at lor@to at ps ...name c at lor@ps@#1\endcsname #2 \@@
>> >
>> > l.30 \psline[linestyle=dashed, dash=3pt 2pt](
>>
>> this was the pdflatex run without an active pst-pdf
>>
>> Please send me your complete example and log file.
>> And also the <file>-pics.pdf and *.ps
> 
> 
> All relevant files are attached.

Paul,
you cannot use an option dvips for package graphicx,
because the last run is always a pdflatex one and a
dvips-option is then wrong.

It is always safe using no option for graphicx, the driver
always detects itself the current mode.

Herbert






More information about the PSTricks mailing list