I'm trying to get some PSTricks pictures to PDF. I'm using the information provided on http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#autopstpdf
Well, never change a running system … yesterday it worked, but due to HDD problems I had to reinstall my system (Win XP sp3, Miktex 2.9, Texniccenter 2.02). The thing is, the final .pdf is created, Latex->PDF, XeLatex->PFD, … it doesn't matter. But what I would need is the cropped .pdf from the picture itself, the <'file'-autopp.pdf>.
Perl (5v18) ist installed (although before the reinstallation I didn't have it). I got the "typical" two warnings, which I found quite often in forums, but those guys just needed the final .pdf, I would need the cropped pictures.
Using:
\documentclass[12pt]{article}
\usepackage[pdf]{pstricks}
\usepackage[crop=off]{auto-pst-pdf}
\usepackage{pst-pdf}
\begin{document}
\input{a.pstricks}
\end{document}
Getting (umformen.log): (… .tex-file is called "umformen")
[...]
runsystem(echo "-------------------------------------------------")...executed.
runsystem(echo "auto-pst-pdf: Auxiliary LaTeX compilation")...executed.
runsystem(echo "-------------------------------------------------")...executed.
runsystem(del "umformen-autopp.log")...executed.
runsystem(latex -disable-write18 -jobname="umformen-autopp" -interaction=batchmode "\let \APPmakepictures \empty \input
umformen.tex")...executed.
Package auto-pst-pdf Warning:
Creation of umformen-autopp.dvi failed.
This warning occured on input line 124.
Package auto-pst-pdf Warning:
Could not create umformen-pics.pdf. Auxiliary files not deleted.
This warning occured on input line 124.
runsystem(echo "-------------------------------------------------")...executed.
runsystem(echo "auto-pst-pdf: End auxiliary LaTeX compilation")...executed.
runsystem(echo "-------------------------------------------------")...executed.
[...]
Because the whole system is reinstalled, I think the error is maybe somewhere else? Anyone any clues?
Greetings, Florian
Best Answer
that cannot work, because a package is not loaded twice.
\usepackage[pdf]{pstricks}
already loadsauto-pst-pdf
. Tryand also:
I tried the first example and an up-to-date MiKTeX 2.9 on a Windows 7.0 with a file
a.pstricks
:and had no problems (running TeXmaker with enabled
--shell-escape
)