Re: [Vim-latex-devel] View document in another directory
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2004-06-19 00:52:35
|
On Sat, 19 Jun 2004, Luc Hermitte wrote: > * On Fri, Jun 18, 2004 at 04:58:55PM -0700, Srinath Avadhanula <sr...@fa...> wrote: > > Actually you can make it work with !start too. Here's a little demo: > > > > Open vim (not necessarily with latex-suite activated) and do: > > let &mp = 'start gvim $*' > > silent! make! % > > you will need gvim.exe to be in your windows $PATH of course. You should > > see another instance of gvim startup and attempt to reread the file.... > > I though of this solution, but it does not indicate us if the file is > not found, and neither v:shell_error nor :copen are of any help [1]. And > even more important: > let &makeprg='AcroRd32 $*.pdf' > silent make foo > works, but > let &makeprg='start AcroRd32 $*.pdf' > silent make foo > does not. > Yes. You're right... I have followed your previous idea of just creating an imitation of vim's native :make utility. For now, we just substitute $* with the main file name, but in the future it could be as general purpose as vim's own. Srinath |