I found the bug, maybe this can help others.

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??)

bill lam wrote:
> On Sat, 20 Jun 2009, A. Torgovitsky wrote:
>   
>> yes I \ll does compile the .pdf and I can open it just fine. Also, if I 
>> manually command :!evince ~/sample.pdf then it will open up like its 
>> supposed to.
>>
>> 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.
>
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to