[Tex/LaTex] How to configure inverse search with WinEdt + TeXworks viewer

forward-inverse-searchmiktextexworkswinedt

I am having trouble getting "jump to source" working properly with my new TeX set-up on my new computer.

I installed WinEdt 10 with MikTex 2.9 on a new Windows 10 computer. I use pdftexify, and the default pdf viewer was TeXworks, which is fine with me, although I've not used it before. The synctex file seems to be generated properly, but when I use "jump to source" while viewing my pdf file in TeXworks, it jumps to the source in the TeXworks editor, rather than in the WinEdt, which is what I want. I don't see in the TeXworks preferences how to tell TeXworks to use the WinEdt editor. Could you help?

Incidentally, my inverse search didn't work at all with "synctex=-1" but rather I had to change to "synctex=1" in the WinEdt execution mode switch setting, in order at least for TeXworks to jump to source with its own editor.

Best Answer

I use WinEdt, and here is what works for me:

"C:\Program Files\WinEdt Team\WinEdt 10\WinEdt.exe" "[Open(|%f|);SelPar(%l,10);]"

In Sumatra click Menu/Settings/Options, then in the last box on that dialog box copy and paste the above.