On Thu, Nov 16, 2006 at 06:33:07PM -0200, Luis A. Florit wrote:
> Pals,
> 
>     I have a recurrent problem with quickfix and Latex. I use the
> tex.vim compiler by Srinath Avadhanula. I tried both the 2003 version
> contained in the last LatexSuite plugin
> 
>     http://www.vim.org/scripts/script.php?script_id=475
> 
> and version '2006-03-20 09:45:45Z'. Same result.
> 
>     The problem:  After make, when there is an error, it jumps to an
> unwanted file. This is so because the efm variable is not correctly set.
> 
>     For example, after deleting a '$' in a file 'file.tex' and doing
> make, I read this in the quickfix window:
> 
> ##########################################################################
> || ) (./file.aux)
> /usr/share/texmf/tex/generic/xypic/xy.sty|1111 error| Missing $
> inserted. $ \lambda =1$) and identifying the upper $2\times 2$ matrix in
> ##########################################################################
> 
> Then, a new buffer is loaded with the file xy.sty, and vim tries
> to go to the line 1111 in that line (then it goes to the last).
> 
>     It seems that the problem is that the string
> '/usr/share/texmf/tex/generic/xypic/xy.sty' was not deleted by efm.
[snip]

     I never looked at the 'errorformat' option until a few weeks ago,
when I tried (with less than perfect success) to come up with a good
setting for plain TeX.  So I think I am not the most qualified person to
deal with this.  I hope someone else will take a stab at it.

                                        --Benji Fisher

Reply via email to