Re: [Vim-latex-devel] problems with referencing, compiling. Windows 2000.
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2004-06-24 17:16:01
|
On Thu, 24 Jun 2004, Ian Langmore wrote: > My setup: > Windows 2000, SP4. VIM version 6.3 compiled June 7. Latex suite 1.5. Actually, due to time constraints I have not updated latex-suite 1.5 in quite a while. I have been meaning to update the download page and remove that release, but never find the time. I always keep telling myself that I'll do it "tomorrow" but never get around to it. Download the latest dev version of latex-suite instead. It should be significantly more stable. I fixed quite a few problems with file-names-with-spaces which affect the windows platform, so you might get lucky. The latest dev version is below the 1.5 release on the download page. The download instructions are common for both. > Basic problem: I was going through the tutorial. Everything worked fine > until the section on inserting a reference. Step 7 suggests writing > (\ref{}) and hitting F9 between {}. When I hit F9 a small DOS window > briefly pops up on the taskbar, VIM starts to do something (happens very > fast), and then nothing. It should be noted that at first I had F9 mapped Did you install a working `grep` program for your computer? The windows 'findstr' which is used by default is not good enough for latex-suite. My personal setup is windows+cygwin and cygwin contains the grep command, but I am sure you'll find a standalone grep.exe somewhere on the web. I have been meaning to test a few etc but again not much time... Try opening a small file with the word "foo" in it and then type: :grep -nH foo % from within vim in normal mode. After that finishes, type: :cwindow If it works (i.e you get a quickfix window with the matches), then we'll proceed further. > Next problem: I went on to the compile section of the tutorial, and when I > hit \ll VIM sputtered again, but no .dvi file was made anywhere. The > compile GUI command gives the same results. It looks like you might not have the latex.exe file in the windows path. On windows, go to: Control Panel > System > Advanced > Environment Variables And modify the PATH variable to include the directory in which latex.exe resides. > 1. When I try the "echo" command, I get > latex -interaction=nonstopmode $* > I am unsure what command to try and execute. I tried typing \input but > after hitting "i" vim went into insert mode. I meant trying to make your OS execute the above command from within vim. Basically type the following sequence of letters in vim while in normal mode :!latex -interaction=nonstopmode % NOTE: The initial : is necessary to go into vim's "command mode". The '!' makes vim pass the subsequent string to the OS. > 2. :set makeprg does give the same result > 3. Gives the E117 Unknown function: Tex_RunLaTeX(). But I am using the > most current version available! I am not using a bash shell. Thats because you are using latex-suite 1.5. Use the 2004-06-13 version instead. http://vim-latex.sourceforge.net/download/latexSuite20040613.zip > P.S. If this thing gets working I promise to give $20 to the orphans. > Seriously. Cool! Srinath |