[pstricks] Problems with pst2pdf
mathelmr at nus.edu.sg
Sun Jul 11 15:03:50 CEST 2010
I'm sorry, but I'm still having some trouble with implementing http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput under MiKTeX.
I downloaded the pst2pdf package, and renamed the file pst2pdf to pst2pdf.pl, put it somewhere MiKTeX could find it and ran it. I got the following error.
[Loading MPS to PDF converter (version 2006.09.02).]
! Undefined control sequence.
By the way, thanks for adding the link to the pdf2eps shell script. MiKTeX does not have pdftops and pdf2ps does not have the -f and -l options, so instead I created pdf2eps.bat as below. Just in case other people have the same problem as I had.
:: pdf2eps <picture number> <pdf file without ext>
gswin32c.exe -sDEVICE=epswrite -dNOPAUSE -dBATCH -dFirstPage=%1 -dLastPage=%1 -sOutputFile=%2-crop.eps %2-crop.pdf
move %2-crop.eps %2.eps
Dept. of Mathematics
National Univ. of Singapore
aslaksen at math.nus.edu.sg<mailto:aslaksen at math.nus.edu.sg>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7130 bytes
Desc: not available
More information about the PSTricks