Hello, I'm looking for help with invoking latex from VIM-LaTeX using the "\ll" shortcut.
I've tried to narrow down the problem following the FAQ on http://vim-latex.sourceforge.net and I'm listing my answers to the question asked there below in this mail. The short story is that calling latex from within vim works fine (using :!latex -interaction=nonstopmode %) but calling :call Tex_RunLaTeX() does not work, its output is Running 'bibtex' ... Ran latex 1 time(s) but the dvi file does not change. Thanks in advance, Kai > Q: Compiling does not seem to work for me. My gvim hangs/does nothing.1.What > does :echo Tex_CompileRule_dvi say? This works correctly, I'm getting latex -interaction=nonstopmode $* > Make sure that you can get this command to execute on your operating > system via Vim. In other words, try the following. Open a very minimal > .tex file, for example: > \documentclass{article} \begin{document} This is an article. \end{document} > > in Vim and type the following sequence of characters inside Vim while in > normal mode: :!latex -interaction=nonstopmode % Execution using :!latex -interaction=nonstopmode % works for both, the toy example and the document that I'm working on. > If this command does not work, then it might be due to one of the following > reasons: 1.You do not have any LaTeX distribution installed on your system. > Remember, > 2.Your $PATH variable does not contain the directory in which the latex > executable resides. > 3.Make sure that :set makeprg? shows the same value as Tex_CompileRule_dvi. It does. > 4.What happens when you do :call Tex_RunLaTeX() from the command line? It *seems* to run because it returns Running 'bibtex' ... Ran latex 1 time(s) but leaves the dvi file unchanged and also it returns too quickly, so I suspect it didn't really run latex. > In normal operation conditions, this should spawn a shell command which looks > like Tex_CompileRule_dvi. The shell should call the latex compiler, which > should > run without user intervention. If this gives any errors, g:Tex_CompileRule_dvi > has not been set properly. If the command above gives an error like E117: > Unknown function: Tex_RunLaTeX() > you are using an older Latex-suite. Upgrade! > 5.What is your operating system? Debian GNU/Linux 4.0 (etch), Kernel 2.6.18-5-686 > 6.What version of latex are you using? pdfeTeX using libpoppler 3.141592-1.21a-2.2 (Web2C 7.5.4) in texlive 2005.dfsg.3-1 My VIM is version is 7.0 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel