I have correctly configured forward search both for dvi (with xdvi) and pdf (with okular). It works fine both within lyx and within vim-latex.
Yet there is a difference between dvi and pdf: if I perform forward search using dvi, the current paragraph is highlighted in the dvi. The same doesn't apply if I perform forward search using pdf.
This is a little annoying and my question is: is this the normal behavior (i.e., that feature is not available in okular)? If not, what am I missing?
If needed for an answer, the commands I use in vim-latex to perform forward search are
let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 interaction=nonstopmode -file-line-error-style $*' let g:Tex_ViewRule_pdf = 'okular --unique 2>/dev/null 1>&2 '