Både Forlæns søgning (fra Gedit til Dokumentfremviser) og Baglæns søgning (fra Dokumentfremviser til Gedit) er understøttet.
The gedit 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 the document viewer you need to follow the next steps:
Copy the evince_dbus.py to some directory in your path and give it +x permissions.
Modify your ~/.vimrc file and add the following lines.
let g:Tex_ViewRule_pdf = 'evince_dbus.py' let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
Nu kan du bruge forlæns søgning fra vim-latex ved at skrive \ls. Baglæns søgning er endnu ikke understøttet.
Got a comment? Spotted an error? Found the instructions unclear? Send feedback about this page.