I would like to know how I should configure or what I should install to be able to compile graphics with PSTricks, for example in an editor such as TeXMaker, simply compile in the form latex + dvips + ps2pdf followed by viewing with a PDF reader. I would like to know if this type of settings is possible in Visual Studio Code. How to configure the settings.json?

  • @editors: Why did you remove visual-studio-code? Oct 12, 2019 at 12:24
  • @ArtificialStupidity I thought it didn't make much sense to create a tag just for that, but since there are others, it's okay, I guess. I don't understand the purpose of the ticks tag though... Oct 14, 2019 at 21:35

1 Answer 1


Create a file latexmkrc or .latexmkrc (Linux macOS) in your home directory with

$latex = 'latex -interaction=nonstopmode -shell-escape';
$pdf_previewer = 'start evince';

For the viewer choose whatever you use with your system. Then you can run the recipe Recipe:latexmk (latexmkrc) and you'll get the pdf.

enter image description here


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .