Alessandro/Ingo --

> Dear Ingo,
> as I recently wrote on this mailing list [1] vim's quickfix doesn't
> really like latex's multi-linear error messages.

        This issue has been discussed ad nauseum on this mailing list in the
past, and several solutions have been suggested. rubber is one of them,
but there are other ways to mitigate these problems.

        Here is an archive of solutions from 2008:

http://phaseportrait.blogspot.com/2008/03/fixing-vim-latex-compiler-error.html

It includes

* rubber

* adjusting your latex compile rule to use "-file-line-error-style"
(support for this EFM has already been added to Vim-LaTeX, and so that
step can be skipped)

* a script like "vimlatex" that wraps latex and attempts to sanitize the
multi-line error messages into a form that Vim is happy with.

You can actually combine the second and third bullet.

        A downside of -file-line-error-style (which is just -file-line-error in
newest versions of latex) is that it doesn't help with warnings. Rubber
also doesn't help with all warnings. So if you really care about
catching warnings, your mileage may vary.

        --Ted

P.S.

        I'm mulling over making "-file-line-error-style" the default compile
rule in Vim-LaTeX now that most distributions should support it.

-- 
Ted Pavlic <t...@tedpavlic.com>

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to