I would like to run a .tex file using the sequence: latex --> dvips --> ps2pdf to finally produce the PDF file. I did the following for the latex part in a .sublime-build configuration file:
{ “cmd”: ["/Library/TeX/texbin/latex","$file"], “selector”: “text.tex.latex” }
That works as it creates the dvi file, but I am having troubles making something similar for dvips and ps2pdf. What should I use in “selector” for dvips and ps2pdf?