TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm currently using LaTeXing in sublime text 3. Unfortunately I couldn't find a proper solution for enabling forward and backward synctex between source and pdf. The LaTeXing uses evince (on Linux).

LaTeXing setting page

share|improve this question
okular has a setting for 'Editor'. For Kile, for example, it uses the incantation kile --line %l but there is also a Custom Text Editor option. I guess you need to know the equivalent option to pass sublime on the command line. Plus I'm not familiar with evince. – cfr Apr 27 '14 at 1:00
@cfr, thanks. evince is probably the same but I couldn't figure it out how to add the option in LaTeXing setting. It seems no option is supported. Instead they might edit latexmk to do the task, for backward synctex I also didn't see any option/preferences in evince to modify it for backward synctex. – ToX Apr 27 '14 at 6:06
up vote 1 down vote accepted

How about LaTeXTools, backward and forward search works great for me.

(Ubuntu - Texlive - Sublime Text 3 - Evince)

share|improve this answer
Welcome to TeX.SX! – Heiko Oberdiek Apr 28 '14 at 5:24
Yeah, but I think LaTeXing is also capable of doing such, but unfortunately I've find out a solution yet. So currently LaTeXTools is the alternative solution... – ToX Apr 30 '14 at 22:50

The following set-up also works for Latexing.

First, use Okular to display the pdf. For this, move okular up in the pdf_viewer_order setting of Latexing. For example,

"pdf_viewer_order" : [
    // Linux

At this point the Latexing: Open PDF command should open okular with the right pdf. Now change the options in okular to use sublime as the editor: under Settings -> Configure Okular -> Editor choose Custom Text Editor and modify the command to

PATH TO SUBLIME/sublime_text %f:%l:%c

Now Shift + Left click should open sublime at the right position.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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