This question already has an answer here:

I have a document that I'm currently compiling with pdflatex that contains pstricks-pictures (using \usepackage[pdf]{pstricks} and \usepackage{auto-pst-pdf})

To publish the document online I want it to be compiled to HTML and the pstricks-pictures to be converted to SVG.

Is there an automated way to do so?

marked as duplicate by user2478 Dec 27 '17 at 8:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.