Re: [Vim-latex-devel] View document in another directory
Brought to you by:
srinathava,
tmaas
From: Luc H. <her...@fr...> - 2004-06-19 00:14:49
|
* On Fri, Jun 18, 2004 at 04:58:55PM -0700, Srinath Avadhanula <srinath@f= astmail.fm> wrote: > Actually you can make it work with !start too. Here's a little demo: >=20 > Open vim (not necessarily with latex-suite activated) and do: > let &mp =3D 'start gvim $*' > silent! make! % > you will need gvim.exe to be in your windows $PATH of course. You shoul= d > 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=3D'AcroRd32 $*.pdf' =20 silent make foo works, but=20 let &makeprg=3D'start AcroRd32 $*.pdf' =20 silent make foo does not. AcroRd32 seems to receive an incorrect filename in the latter case. [1] This issue is raised by: :let &mp=3D'start! cygstart incorrectpath/$*.html' :silent! make foo And by extension, if the file to view has not been generated yet, \lv would not even tell us there is nothing to view. Without =ABstart=BB, the error can be retrieved with :copen --=20 Luc Hermitte http://hermitte.free.fr/vim/ |