[Vim-latex-devel] GotoError not working with graphicx or siunitx packages
Brought to you by:
srinathava,
tmaas
From: David C. <dc4...@gm...> - 2012-02-04 07:48:48
|
Hi all, I've noticed that when I use the graphicx or siunitx packages, the goto-error functionality stops working. Specifically, when a compilation error occurs, the cursor moves to the error message in the compiler output window instead of jumping to the error in the main window. Pressing enter over the error message does nothing either. The current workaround is to set g:Tex_GotoError=0 in my tex.vim and manually navigate to errors. A minimal example: \documentclass{article} \usepackage{graphicx} \begin{document} \mistake \end{document} If I comment out the graphicx package, everything works: the cursor jumps to \mistake. This example produces more interesting results: \documentclass{article} \usepackage{siunitx} \mistake \begin{document} \end{document} In this case, the cursor does move to the correct line number in the main window, but the file I was editing is no longer there! It is replaced with the text of siunitx.sty. If you would like to try reproducing this, here are the details: Arch Linux x86_64 TeX Live 2011.3-1.2 (compiling with pdflatex) gvim 7.3.401-1 (tried it in vim too) vim-latex-1.8.23-20120125.768-git8b62284 I would appreciate any suggestions about how to get this functionality back. Gratefully, David C |