~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

« back to all changes in this revision

Viewing changes to help/bg/synctex-editors.page

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2011-04-14 16:20:57 UTC
  • mfrom: (1.6.4 upstream)
  • mto: (1.3.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 138.
  • Revision ID: james.westby@ubuntu.com-20110414162057-0ofhbd139zs6ev6y
ImportĀ upstreamĀ versionĀ 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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="bg">
 
3
 
 
4
  <info>
 
5
    <link type="guide" xref="index#synctex" group="fourth"/>
 
6
    <desc>Which editor can you use to edit your TEX file?</desc>
 
7
 
 
8
    <revision pkgversion="2.32" version="0.1" date="2010-09-28" status="draft"/>
 
9
    <credit type="author">
 
10
      <name>Tiffany Antopolski</name>
 
11
      <email>tiffany@antopolski.com</email>
 
12
    </credit>
 
13
    <license>
 
14
      <p>Creative Commons Share Alike 3.0</p>
 
15
    </license>
 
16
 
 
17
  </info>
 
18
 
 
19
<title>Supported Editors</title>
 
20
 
 
21
<section><title><app>Gedit</app></title>
 
22
<p>
 
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.
 
24
</p>
 
25
</section>
 
26
 
 
27
<section><title>Vim-latex</title>
 
28
<p>
 
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:
 
31
</p>
 
32
<steps>
 
33
 <item>
 
34
  <p>
 
35
     Copy the evince_dbus.py to some directory in your path and give it +x permissions.
 
36
 
 
37
 </p>
 
38
 </item>
 
39
 <item>
 
40
  <p>
 
41
     Modify your ~/.vimrc file and add the following lines.
 
42
    </p>
 
43
<code>
 
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 $*'
 
47
</code>
 
48
 
 
49
  </item>
 
50
  <item>
 
51
   <p>
 
52
     Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported.
 
53
   </p>
 
54
  </item>
 
55
</steps>
 
56
</section>
 
57
</page>