An \ll successfully compiles my file. When I try \lv to view the file I
see from the command bar in gvim that "call Tex_ViewLateX()" is being
issued, but I get no window of any sort. (Of course I checked that
"evince" actually is the right command and that it is in the path.) Any
suggestions? Thanks
I put the followings in my ~/.vimrc
let g:tex_flavor='latex'
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_ViewRule_pdf='xpdf'
acroread also works for me but I don't use evince because it depends
on gnome.
FYI
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
Did you get the pdf after \ll and open that pdf manually without
problem? You may also confirm evince or other viewer is working
properly by executing in vim's command mode
:!evince /path/to/pdf
mysterious....some sort of bug in the viewing function in latex-suite?
It just works for me so that I've no idea of what's wrong. May be you
could use a wrapper for evince to log the arguments passed from vim.
Or if everything fails, write a vim macro to open pdf for current
latex file.
In the "compiler.vim" file located in ~/.vim/ftplugin/latex-suite on
line 289, change the line
let execString = s:viewer.' $*.'.s:target.' &'
to
let execString = s:viewer.' $*.'.s:target
i.e. remove the ampersand which opens the process in the background.
For some reason on Ubuntu 8.10 using gvim 7.1, the evince (or other
viewers) will not open when there's an ampersand but will open without
it. (Why??)