[Tex/LaTex] How to implement forward-inverse-search with TeXStudio and Evince in Ubuntu

evinceforward-inverse-searchtexstudioUbuntu

I am using Ubuntu 12.04 with TexStudio and Evince 3.4.0 installed.

Can I use them to realize forward-inverse-search between my tex source code and the pdf file? How?

I tried the method described here, but it doesn't work for me. Maybe this is because I don't know how to edit their code.

I tried texstudio %f -line %l & and texstudio %.pdf -line %l & in modifying the evince code provided in the line above.

Hopefully there will be a perfect solution.

PS: With the help of Daleif, I find out that the internal pdf-viewer of TeXStudio works perfectly on forward-inverse-search using the default control-click settings. I would leave this post open, in case anyone is still more interested in using the external Evince pdf reader. I will help verify the validity of solutions. Thanks.

Best Answer

Texmaker comes with a build in PDF previewer that supports synctex. If I remember correctly, it is "embedded" by default. That is, editor and previewer is a part of the same bigger window. This might not be useful if the screen is small, say on a small laptop. Editor and previewer can be separated into two separate Windows via the Texmaker configuration (just remove the tick mark at "embedded" and restart Texmaker)

Texmakers cousin Texstudio made this even easier: there the separation is a button on the previewer.

Related Question