Re: [Vim-latex-devel] Viewer doesnt start in Ubuntu Dapper Drake
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-03-22 22:05:37
|
Hi, > I switched from Debian to Ubuntu recently. When i start gvim from the > file-browser (nautilus), "g:call Tex_ViewLaTeX()" (\lv), doesnt do > anything. When I start gvim from the shell everything works fine. > I do not have access to Ubuntu right now, but a guess is that in the two cases, the $PATH variable is different so that in one case, the program specified by g:Tex_ViewRule_dvi is not found while its found in the other. In your case, I am pretty sure the following should work: :let g:Tex_ViewRule_dvi =3D '/usr/bin/xdvi' and then do \lv. If you specify the complete path to your viewer, things _should_ work. > In /usr/share/vim/addons/ftplugin/texrc, I uncommented > > " TexLet g:Tex_ViewRuleComplete_dvi =3D '' g:Tex_ViewRuleComplete_dvi is to fix another problem i.e, when your viewer needs to be called with a custom syntax. > > Version of latexsuite as reported by synaptic: 0.20041219-2 > Version of vim: 6.4.6 > This is a _really_ old version of latex-suite. I would recommend getting the latest version directly from: http://vim-latex.sourceforge.net/index.php?subject=3Ddownload&title=3DDownl= oad Srinath |