Thanks a lot Mirko. kdvi is very nice, and works out of the box with gvim for forward and backward search after inserting the -src-specials in Tex_CompileRule_dvi But you saved my a lot of head scratching to make backward search work with vim so thanks (I guess if you don't start vim with --servername KDVI, there's no one listening for backward searches?)
BTW, I meant to send my last few messages to the list, but I think they only went to you... so I'm CC'ing this one to the list as it will surely help others. Thanks again, Steve On 27/11/2007, Mirko Hessel-von Molo <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007, Stephen Wilkinson wrote: > > >> Well kdvi reads source-specials. I got to work forward and backward search > >> with it. If you're interested I can let you know how. > > Yes please! That would save me a lot of time and aggravation! I've > > just installed kdvi and finally I can scroll continuously between > > pages! > > So it seems you already have kdvi as your default viewer for \lv (and \ls). > Forward search should work with kdvi as soon as you enable the > src-specials. To do that, put > > TexLet g:Tex_CompileRule_dvi = 'latex -src-specials -interaction=nonstopmode > $*' > > into .vim/ftplugin/tex/texrc. This brings you to the right place in your > dvi document when you issue \ls. > > For inverse search you need to tell kdvi which editor to call upon middle > mouse button click. You do that in (my kdvi menus are in German, so I guess > the English names) Options -> Preferences -> DVI Specials -> Editor for > inverse search. Choose Custom editor and enter > > vim --servername KDVI --remote-silent +%l %f > > as custom command. This assumes that you started your vim using > > vim --servername KDVI filename.tex > > (Alternatively gvim, it just works the same.) You are free to choose a > different servername, of course, only make sure its the same in both > commands. > > Maybe I forgot something. If so, tell me ;-) > > Yours, Mirko > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel