[pstricks] PSTricks and PDF

Helmer Aslaksen mathelmr at nus.edu.sg
Wed May 26 08:52:23 CEST 2010


Hi,

I managed to solve three of my problems on my own.

My auto-pst-pdf just required refreshing the MiKTeX FNDB! Stupid me. :(

The pdftricks problem was a bit harder, but I found a link on http://pages.cpsc.ucalgary.ca/~pneumann/wiki/pmwiki.php?n=MyUniversity.PdfTricks  to a modification by Shujun LI  and that solved the problem.

ps2pdf -dAutoRotatePages=/None <file-pics.ps> <file-pics.pdf> still does not work. If I do not include the output file name I get a message about Unrecoverable error: typecheck in .putdeviceprops. But then I removed the -d option, and
ps2pdf <file-pics.ps> worked like a dream.

I'm still looking for a pdf2eps script for MiKTeX, but I will try the Linux one under Cygwin later.

Helmer Aslaksen

From: Helmer Aslaksen
Sent: Wednesday, 26 May, 2010 11:35 AM
To: 'pstricks at tug.org'
Subject: PSTricks and PDF

Hi,

I'm trying to set up PSTricks using MiKTeX 2.8 on Windows 7. I have studied the page

http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput

and have tried four ways of PDF export, but have had trouble with all four of them.

Ps2pdf: Creating the pdf file was easy, but the link to the pdf2eps script was bad. I found another shell script online, but is there a simple way to do this with MiKTeX? Or should I install Cygwin?

Pst-pdf: ps2pdf -dAutoRotatePages=/None <file-pics.ps> <file-pics.pdf> did not work for me. A GhostScript window came up, but no file was created.

Auto-pst-pdf: I got a long log file. The first error simply says "Creation of test-auto-pst-pdf-pics.pdf failed."

Pdftricks: I got an error saying

(pdftricks)                No \write 18 capability.
(pdftricks)                You'll have to run a script by yourself!

I executed pdflatex --enable-write18, but maybe some internal calls did not enable write 18.

Any suggestions?

Thanks in advance!

Helmer Aslaksen
Dept. of Mathematics
National Univ. of Singapore
Singapore 117543
Singapore

aslaksen at math.nus.edu.sg
www.math.nus.edu.sg/aslaksen/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20100526/017f5d0c/attachment.html>


More information about the PSTricks mailing list