Re: [Vim-latex-devel] Viewer doesnt start in Ubuntu Dapper Drake
Brought to you by:
srinathava,
tmaas
From: Sebastian M. <seb...@un...> - 2006-03-23 10:58:47
|
Am Mittwoch, den 22.03.2006, 14:05 -0800 schrieb Srinath Avadhanula: > 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. > > > 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 = '/usr/bin/xdvi' > > and then do \lv. If you specify the complete path to your viewer, things > _should_ work. Nope. > > In /usr/share/vim/addons/ftplugin/texrc, I uncommented > > > > " TexLet g:Tex_ViewRuleComplete_dvi = '' > > g:Tex_ViewRuleComplete_dvi is to fix another problem i.e, when your > viewer needs to be called with a custom syntax. I understood that, but default was the empty string, and if I get it right, that overwrites "g:Tex_ViewRule_dvi" !? Anyway, that's OT. > 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=download&title=Download OK, I did so, but that didnt help either. Can give some suggestions how to debug it myself? I would like to see what happens exactly when calling the view function. I guess that xdvi dies out of some reason and vim/latexsuite doesnt sense that thinking that regards, Sebastian. |