2

I'm using LaTexTools in SublimeText and I'd like to disable the feature that automatically opens Evince (Linux user) after a successful compilation of my .tex file.

I can see there are options to keep the focus on SublimeText:

// Keep focus on Sublime Text after building (true) or switch to PDF viewer (false)
"keep_focus": true,

and to sync the position of the PDF:

// Sync PDF to current editor position after building (true) or not
"forward_sync": true,

but none of this prevent the PDF viewer from popping up every time I compile my file.

Is this possible?

  • Currently there's no option to do so, though I'm intending to add one in a future update. If you're happy editing the Python files, the relevant code is near the bottom of makePDF.py in your local package, but if you make a change there, it will be clobbered by the next release. – ig0774 Mar 2 '16 at 11:11
  • Thank you @ig0774, would you like to change your comment to an answer so I can mark it as accepted? – Gabriel Mar 2 '16 at 12:12
3

Currently there's no option to do so, though I'm intending to add one in a future update. If you're happy editing the Python files, the relevant code is near the bottom of makePDF.py in your local package, but if you make a change there, it will be clobbered by the next release.

  • Has this option has been implemented yet? I couldn't see it on the issues page. – Hugh Mar 1 '17 at 3:56
  • 1
    Yes. It's done via the open_pdf_on_build setting. – ig0774 Mar 1 '17 at 11:35
  • Great! You should update your answer. (I was looking for the answer today and found this answer.) – Hugh Mar 1 '17 at 11:48

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.