Hello,
I tried to use inverse search with vim-latex. But I couldn't use this
function with okular or xdvi.
With the old version, I can use xdvi with inverse search by set
let g:Tex_ViewRule_dvi="xdvi -editor 'gvim --servername latex-suite --remote-
silent'"
and run gvim with
"gvim --servername latex-suite --remote-silent"
In the new version, this won't work, I have tried to set
let g:Tex_ViewRule_dvi="xdvi -editor 'gvim --servername gvim --remote-silent'"
(both forward search (with "\ls") won't work)
or
let g:Tex_ViewRule_dvi="xdvi" (inverse search won't work.).
I am more inclined to use okular. So I tried to solve this with okular.
When I set "let g:Tex_ViewRule_dvi = 'okular'". It didn't work.
So I read the source file compiler.vim, and found that kdvi was obsolete. I
replaced all "kdvi" with "okular", and change
let execString = 'silent! !okular --unique
file:'.mainfnameRoot.'.dvi\#src:'.line('.') .expand("%")
to
"let execString = 'silent! !okular --unique
'.mainfnameRoot.'.dvi\#src:'.line('.').expand("%")
I can use okular with forward and backward search now?
I want to how to solve this with xdvi.
Kenneth
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel