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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya, Josselin Mouette, Rodrigo Moya
  • Date: 2011-05-19 12:12:42 UTC
  • mfrom: (1.1.65 upstream) (1.3.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110519121242-967hbn2nh2hunp4y
Tags: 3.0.0-4ubuntu1
[ Josselin Mouette ]
* bug-presubj: please document where to report rendering bugs.
* evince.mime: dropped. We have desktop files to handle MIME 
  associations, no need to maintain an alternate system by hand.
  Closes: #619564, #627027, #551734, #581441.

[ Rodrigo Moya ]
* Rebase from Debian and GNOME3 PPA (thanks to Rico Tzschichholz).
  Remaining Ubuntu changes:
* debian/apparmor-profile:
* debian/apparmor-profile.abstraction:
* debian/evince.apport:
* debian/evince-common.dirs:
* debian/evince-common.postinst:
* debian/evince-common.postrm:
  - Add apparmor profile
* debian/control:
  - Build-Depend on debhelper (>= 7.4.20ubuntu5), gnome-common,
    hardening-includes and liblaunchpad-integration-3.0-dev
  - Standards-Version is 3.9.1
  - Depend on apparmor
* debian/rules:
  - Include hardening.make
  - Add rule to install apparmor files
* debian/watch:
  - Watch unstable series
* debian/patches/01_lpi.patch:
  - Launchpad integration patch
* debian/patches/04_gold.patch:
  - Link against libz
* debian/patches/05_library-path.patch:
  - Fix library path for g-ir-scanner

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="vi">
 
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>