2

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? – Too Fat Man No Neck Oct 12 '19 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... – Phelype Oleinik Oct 14 '19 at 21:35
2

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

$pdf_mode=2;
$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

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.