Re: [Vim-latex-devel] Viewer doesnt start in Ubuntu Dapper Drake
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-03-23 19:04:29
|
Hi, On 3/23/06, Sebastian Menge <seb...@un...> wrote: > > 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 > Thanks for offering to debug. Here are suggestions: 1. Put :let g:Tex_Debug =3D 1 in your ~/.vim/ftplugin/tex.vim. And then press \lv. Then type: :call Tex_PrintDebug('comp') This should show a string like: Tex_ViewLaTeX: execString =3D xdvi "file.dvi" & Vim-Latex basically runs this string as: exec 'silent! !'.execString You can try running this without the silent! to see any error messages which might pop up. Type in exactly the string which is reported by Tex_ViewLaTeX. So, try :! xdvi "file.dvi" & from within vim to see what might be happening. This should give you a clue. The last command will be the most informative. It should tell you if the external command has any errors etc. 2. If none of this gives you any new information, you can try as a last resort looking at the Tex_ViewLaTeX() function in ~/.vim/ftplugin/latex-suite/compiler.vim. This is the function invoked when you type \lv. HTH Srinath |