Vim has a hard time parsing TeX output of the form...
(file
(file
(file
)))
(i.e., nested output where all of the closing parentheses come on one
line). So, Vim-LaTeX tends to open the wrong file on compiler errors.
I've put together a simple-to-use script to try to fix this. See:
http://phaseportrait.blogspot.com/2008/03/fixing-vim-latex-compiler-error.html
and, for the script:
http://links.tedpavlic.com/shell_scripts/vimlatex
Then add "vimlatex" to the front of any compiler command you use. For
example, if you've been executing:
latex blah blah blah
then execute:
vimlatex latex blah blah blah
instead.
This isn't a new idea. However, it's an idea that's hard to find on the
web.
--
Ted Pavlic <te...@te...>
|