This is a very similar problem to the one I posted about yap in windows. Probably makes sense to have a similar approach.
2011/12/13 "Rüdiger Kürsten" <ruediger.kuers...@gmx.de>: > hi everybody, > > i have problems using forward search, when i use the xdvi viewer with further > options. > i'm using Latex-Suite: version 1.8.23 together with vim version 7.1.314 > the latex part of my vim.rc is: > > let g:tex_flavor='latex' > let g:Tex_ViewRule_dvi = 'xdvi -fullscreen -hush -hushstdout -s 6' > let g:Tex_MultipleCompileFormats = 'dvi' > let g:Tex_CompileRule_dvi = 'latex --src-specials -interaction=nonstopmode $*' > > the problem appears if xdvi is used as viewer with any option. > when i edit a latex file and typ \ls nothing happens, one the other hand \lv > works as desired. > > i figured out that in the file > .vim/ftplugin/latex-suite/compile.vim > in the function Tex_ForwardSearchLatex() > there is defined the variable viewer: > > let viewer = Tex_GetVarValue('Tex_ViewRule_'.s:target) > > later on the variable viewer is compared to "xdvi", cleary if viewer has the > value "xdvi -option" it is not recognised as "xdvi". > > i would suggest to cut the first word out of the variable viewer and use this > for the comparisons with "xdvi" > > regards, > ruediger > > -- > NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! > Jetzt informieren: http://www.gmx.net/de/go/freephone > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Vim-latex-devel mailing list > Vim-latex-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel