Jushan,

On 8/26/07, Jushan Bai <[EMAIL PROTECTED]> wrote:

> Hi Franco,
>
> Thanks for your willingness to help. Both the file name  and and line number 
> appear to be correct.
> A simple screen shot is attached (MS doc file).
>
> Here is the orginal program, no empty lines at the beginning. On the 4th line 
> "lpha" is undefined,
> the Quickfix recognize the error, but no jump.
>
> \documentclass[12pt]{article}
> \begin{document}
> This is my first paragraph.
> Consider the equation  $\lpha = \beta$, here ``lpha'' is undefined on purpose.
>
> This is my second paragraph.
> \end{document}

As I suspected, the filename is not deduced correctly by latex-suite.
In the quickfix window you should see the line

  ivnote.tex|4 error| Undefined control sequence. \lpha  Consider the
equation ...

but your line is missing "ivnote.tex" at the beginning.

I tried your example on my machine, a linux box with vim7, and I have
no problem. But I do see this problem sometimes on other files
(especially when I am using certain packages). It seems that the
latex-suite procedures to detect the errors (including finding the
filenames and line numbers) from the latex output isn't satisfactory.

I took a look at the code, but was not able to find a way to quickly
fix it. The problem is that the latex compilation messages are not
consistent across all packages, so the currently defined procedure
doesn't always work. I have problems with the xypic package. If the
package is loaded and if there is an error in my file, then vim always
jumps to the some file that belongs to the xypic package (some .sty
file, I think).

I'm sending this reply to the list in case someone has any
suggestions. But the list seems to be very quite these days.

Take care,
Franco

--

-------------------------------------------------------------------------
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

Reply via email to