-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Welcome to the gedit-synctex-plugin wiki!
This repository contains the a Gedit plugin to support Forward/Backward search betweeen LaTeX files and PDF files using SyncTeX.
The plugin contains a python script (evince_dbus.py) that can be used to get Synctex working with other editors.
The vim-latex is a suite of vim macros to use LaTeX. vim-latex support forward/backward search with several viewers. In order to
use vim-latex together with evince you need to follow the next steps:
1. Copy the evince_dbus.py to some directory in your path and give it +x permissions.
2. 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 $*'
3. Now you can use ForwardSearch from vim-latex by typing \ls. Backward search is not yet supported.
IMPORTANT
1. You will need to apply the following patch, which is not yet in git master.
2. For all cases, If you are building evince using jhbuild, then you need some extra configuration. In this case, the program evinced should run in a jhbuild evinronment. One need to achieve this it to create a simple script (supposing that your jhbuild root dir is in /opt/gnome) /opt/gnome/libexec/jhbuild_evinced containing
#!/bin/sh path/to/jhbuild run /opt/gnome/libexec/evinced
and then modify /usr/share/dbus-1/services/org.gnome.evince.Daemon.service to look like this:
[D-BUS Service] Name=org.gnome.evince.Daemon Exec=/opt/gnome2/libexec/jhbuild_evinced