[Vim-latex-devel] PDF forward search (using SyncTex), and DDE
Brought to you by:
srinathava,
tmaas
From: Julien C. <jul...@gm...> - 2009-02-11 13:20:16
|
Hi all I am trying to tweak vim-latex' Tex_ForwardSearchLaTeX so that it can forward-search with SumatraPDF. I have 2 questions : 1. do you know how to obtain the line of the next synchronization point set by synctex ? (synctex used to be the package pdfsync, but is now included in pdflatex using command line arguments --synctex=1) 2. do you know a way to use DDE from a VIM script ? or is there no other way than calling an external python script ? (which I am in the way of coding, DDE in Python is very simple) -- in which case the feature would *require* python to be set up. 2bis. If having to call a python script, what is the best way to do it from compiler.vim ? I assume there is some standard way to do, as outline.py is often called -- I can have a look. Thanks for any info ! Update for the inverse-search with SumatraPDF, also based on synctex/pdfsync: the -inverse-search option is persistent in SumatraPDF, so a lazy way would be to call once and for all SumatraPDF from the commadn line with the -inverse-search rightly set, and no need to modify g:Tex_ViewRule_pdf, then. Julien |