]> www.fi.muni.cz Git - evince.git/blobdiff - help/C/synctex-editors.page
[presentation] resize presentation when window allocation changes
[evince.git] / help / C / synctex-editors.page
index 5aec25eb892ffd728d722f680512b195a5ae5cd7..3033a509ce6f843168996e7485ec7c08eefd5d12 100644 (file)
@@ -3,13 +3,13 @@
       id="synctex-editors">
 
   <info>
-    <link type="guide" xref="index#synctex" group="third"/>
+    <link type="guide" xref="index#synctex" group="fourth"/>
     <desc>Which editor can you use to edit your TEX file?</desc>
 
     <revision pkgversion="2.32" version="0.1" date="2010-09-28" status="draft"/>
     <credit type="author">
       <name>Tiffany Antopolski</name>
-      <email>tiffany.antopolski@com</email>
+      <email>tiffany@antopolski.com</email>
     </credit>
     <license>
       <p>Creative Commons Share Alike 3.0</p>
   </info>
 
 <title>Supported Editors</title>
+
+<section><title><app>Gedit</app></title>
 <p>
+<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.
+</p>
+</section>
 
+<section><title>Vim-latex</title>
+<p>
+The <app>Gedit</app> plugin contains a python script (evince_dbus.py) that can be used to get Synctex working with Vim.
+In order to use vim-latex together with <app>Evince</app> you need to follow the next steps:
 </p>
+<steps>
+ <item>
+  <p>
+     Copy the evince_dbus.py to some directory in your path and give it +x permissions.
+
+ </p>
+ </item>
+ <item>
+  <p>
+     Modify your ~/.vimrc file and add the following lines.
+    </p>
+<code>
+let g:Tex_ViewRule_pdf = 'evince_dbus.py'
+let g:Tex_DefaultTargetFormat = 'pdf'
+let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
+</code>
 
+  </item>
+  <item>
+   <p>
+     Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported.
+   </p>
+  </item>
+</steps>
+</section>
 </page>