]> www.fi.muni.cz Git - evince.git/blob - help/C/synctex-editors.page
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / help / C / synctex-editors.page
1 <page xmlns="http://projectmallard.org/1.0/"
2       type="topic" style="task"
3       id="synctex-editors">
4
5   <info>
6     <link type="guide" xref="index#synctex" group="fourth"/>
7     <desc>Which editor can you use to edit your TEX file?</desc>
8
9     <revision pkgversion="2.32" version="0.1" date="2010-09-28" status="draft"/>
10     <credit type="author">
11       <name>Tiffany Antopolski</name>
12       <email>tiffany@antopolski.com</email>
13     </credit>
14     <license>
15       <p>Creative Commons Share Alike 3.0</p>
16     </license>
17
18   </info>
19
20 <title>Supported Editors</title>
21
22 <section><title><app>Gedit</app></title>
23 <p>
24 <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.
25 </p>
26 </section>
27
28 <section><title>Vim-latex</title>
29 <p>
30 The <app>Gedit</app> plugin contains a python script (evince_dbus.py) that can be used to get Synctex working with Vim.
31 In order to use vim-latex together with <app>Evince</app> you need to follow the next steps:
32 </p>
33 <steps>
34  <item>
35   <p>
36      Copy the evince_dbus.py to some directory in your path and give it +x permissions.
37
38  </p>
39  </item>
40  <item>
41   <p>
42      Modify your ~/.vimrc file and add the following lines.
43     </p>
44 <code>
45 let g:Tex_ViewRule_pdf = 'evince_dbus.py'
46 let g:Tex_DefaultTargetFormat = 'pdf'
47 let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
48 </code>
49
50   </item>
51   <item>
52    <p>
53      Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported.
54    </p>
55   </item>
56 </steps>
57 </section>
58 </page>