[pstricks] Code doesnt compile

Rolf Niepraschk Rolf.Niepraschk at ptb.de
Tue Apr 1 14:27:42 CEST 2008


Olga Lyashevska schrieb:
> Dear List,
> 
> I cant compile the following code. I am new to pstricks, so I would
> appriciate any tips an how to get started.
> 
> ------
> \documentclass[a4paper,11pt]{article}
> \usepackage[usenames,dvipsnames]{pstricks}
> \usepackage{epsfig}

"epsfig" is not necessary and also obsolete (use "graphicx"!).

...
> ------
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
>  \write18 enabled.
>  %&-line parsing enabled.

PSTricks doesn't work with pdfTeX. Use

   latex file.tex
   dvips file.dvi

If you need a resulting pdf document add

   ps2pdf file.ps

...Rolf



More information about the PSTricks mailing list