1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="synctex-editors" xml:lang="en_GB">
5
<link type="guide" xref="index#synctex" group="fourth"/>
6
<desc>Which editor can you use to edit your TEX file?</desc>
8
<revision pkgversion="2.32" version="0.1" date="2010-09-28" status="draft"/>
10
<name>Tiffany Antopolski</name>
11
<email>tiffany@antopolski.com</email>
14
<p>Creative Commons Share Alike 3.0</p>
19
<title>Supported Editors</title>
21
<section><title><app>Gedit</app></title>
23
<link xref="synctex-search#forward-search">Forward Search</link> (from <app>Gedit</app> to <app>Evince</app>) and <link xref="synctex-search#backward-search">Backward search</link> (from <app>Evince</app> to <app>Gedit</app>) are both supported.
27
<section><title>Vim-latex</title>
29
The <app>Gedit</app> plugin contains a python script (evince_dbus.py) that can be used to get Synctex working with Vim.
30
In order to use vim-latex together with <app>Evince</app> you need to follow the next steps:
35
Copy the evince_dbus.py to some directory in your path and give it +x permissions.
41
Modify your ~/.vimrc file and add the following lines.
44
let g:Tex_ViewRule_pdf = 'evince_dbus.py'
45
let g:Tex_DefaultTargetFormat = 'pdf'
46
let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
52
Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported.