[Vim-latex-devel] SumatraPDF and inverse search
Brought to you by:
srinathava,
tmaas
From: Julien C. <jul...@gm...> - 2009-02-11 12:55:48
|
Dear all Just to help people who will be looking for the answer in the future (as I was this morning), the way to setup the Inverse search (i.e. from the PDF to the latex) with vim-latex is to 1. add the following line to your .vimrc, beware of the slashes let g:Tex_ViewRule_pdf = '"c:\Program Files\SumatraPDF\SumatraPDF.exe" -inverse-search "gvim -c \":RemoteOpen +\%l \%f\""' 2. add \usepackage{pdfsync} (as Ted advises on his blog when setting up the same for simk) to the preamble of your latex document. My next step will now be to set up the forward search by tweaking compiler.vim for SumatraPDF as Ted did for Simk. Thanks Ted for your blog entries which are very helpful. For windows users latexing PDF files, SumatraPDF is very useful, as it has an autoreload that ghostview doesn't have. Julien |