# How to backfit PStricks to PDFLaTeX

I have a 700+-page manuscript with 70+ PStricks figures like, for example, this one:

Some of my figures (though not the above example) even use the PostScript interpreter to compute the shape of a curve. Since dvipdf works even on these, it is obviously possible to translate all my figures to PDF. However, unfortunately, PDFLaTeX won't do it.

One would like to use modern tools like PDFLaTeX, XeTeX, etc.—especially, one would like to use PDFLaTeX.

The answer I am not looking for: convert to TikZ. I like TikZ. The next manuscript I write, I mean to use TikZ, but I've already sunk the hours into PStricks for this manuscript.

Here is one clunky solution to a related problem. Surely however there is a better way to do what I want to do, isn't there? (There is also this but I don't think that it has to do with me.)

How can I backfit my PStricks figures to PDFLaTeX, please?

• does it not work with auto-pst-pdf package? (most pstricks works with pdftex via that route, but not all) – David Carlisle Jul 1 '17 at 16:46
• auto-pst-pdf works only for pspicture environments. If you have not such an environment, e.g. a psmatrix, then you have to put that PSTricks related code into an environment \begin{postscript} ... \end{postscript} – user2478 Jul 1 '17 at 16:55
• don't forget to use the optionsl argument -shell-escape for pdflatex – user2478 Jul 1 '17 at 18:04
• I would advise to extract the pstricks figures as standalone figures, and include the resulting .pdf figures with \includegraphics. It will be easier to manage. – Bernard Jul 1 '17 at 18:16
• The clunky solution above is the best way to manage a huge project as yours. – Gold Digging Programmer Jul 1 '17 at 18:49