Re: [Vim-latex-devel] Help with Compile
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-03-25 08:35:48
|
Hello, Tom: I think that you have a 'makefile' or 'Makefile' in the directory where the file being edited is present. Therefore 'makeprg' simply reverts to 'make dvi' when you try to run '\ll' on your latex file. And since (I assume) your Makefile doesn't have a 'dvi' target, you are getting an error. To get around this: 1. either create a 'dvi' target in your makefile. 2. create a .latexmain file. See help for details. On Mon, 24 Mar 2003, Alan Schmitt wrote: > I had this problem, so I wrote a small patch for compiler.vim. This > patch makes the following behavior change: > - if a something.latexmain file is present, "\ll" calls latex on that > file instead of make > - otherwise, if no something.latexmain exists, it either calls make if > there is a Makefile, or it calls latex on the current file. > Doesn't this behavior already exist in the present version of ls? Atleast it was designed to... Could you please supply context diffs? My patch program seems not to like unified diffs and I am hesitant to apply patches manually. Thanks, Srinath |