Re: [Vim-latex-devel] Can't find file, acroread is not used
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-02-10 04:15:18
|
Hi Rene, On 2/9/06, Ren=E9 Lange <bit...@ti...> wrote: > problem doesn't occur. It seems, the spaces really are the reason here. > This is a problem I have always had when touching Latexsuite, and always > was the reason not to keep on and get familiar with it. Now, I'm fed up, = I > absolutely want to use it! =3D) > I have been beating my head against the freaking spaces in filenames thing for ever now, but apparently, things still do not work well. I suggest that instead of waiting for a comprehensive fix in latex-suite, you set let g:Tex_CompileRule_dvi =3D "latex --src-specials --interaction=3Dnonstopmode '$*'" let g:Tex_CompileRule_pdf =3D "pdflatex --interaction=3Dnonstopmode '$*'" in your ~/.vim/ftplugin/tex.vim. I think this will most probably fix your problem. > Second: I would like to view my pdf output with acroread, which I have > installed. Typing acroread in shell starts acroread. I set the following > in /usr/share/vim/vim63/ftplugin/tex.vim: > let g:Tex_ViewRule_pdf =3D 'acroread' It might be due to spaces in the filename again. This time use let g:Tex_ViewRule_pdf =3D "acroread '$*.pdf'" Let us know if these fixes work. Thanks, Srinath |