Hi again,

I edited .vim/compiler/tex.vim where I added patterns for "Package ... 
Warning"-like warnings. Hence, I extended the recognised error format

setlocal efm+=%+WPackage\ %.%#Warning:\ %.%#line\ %l%.%#
setlocal efm+=%+WPackage\ %.%#Warning:\ %m

This does the job. Now undefined citation warnings from natbib are shown.

But is there a way to extend the error format by changing a local 
variable in my .vimrc instead of hacking the tex.vim file?

Best

Andreas


On 01/21/2013 10:06 AM, Andreas Groh wrote:
> Hello,
>
> I figured out that the missing of the undefined citation warnings
> depends on my used bibliography package. I use the package natbib which
> produces a warning starting with "Package natbib Warning: Citation ...
> on page ... undefined". This warning is not shown by the latex-suite. If
> I disable natbib the warning looks like "Latex Warning: Citation ...."
> and this warning is recognised an display by the latex-suite.
>
> Is there a way the make the latex-suite sensitive for these kind of
> warnings (e.g. editing .vim/compiler/tex.vim)?
>
> Cheers
>
> Andreas
>
> On 01/17/2013 05:59 PM, Andreas Groh wrote:
>> Hello list,
>>
>> I am new to the vim latex-suite. I set everything up and it works fine
>> so far. But I can not figure out how to show latex warning after
>> compiling the document using \ll. If there are errors they are shown in
>> thw "Quickfix list" with a preview window below. But in the case of
>> warnings (e.g. undefined references) I end up in the normal vim window
>> without having the warnings shown. I set "TCLevel strict" which sets
>> Tex_IgnoreLevel to 0, but it doesn't change anything.
>>
>> Any ideas what I am doing wrong? Or is it the normal way that warnings
>> are not shown? Any help is appreciated.
>>
>> Thanks and best regards.
>>
>> Andreas
>>
>

-- 
------------------------------------------------------------------------
Andreas Groh                       phone : +49-351-463.34974
Institut fuer Planetare Geodaesie  fax   : +49-351-463.37063
Technische Universitaet Dresden    email : andreas.g...@tu-dresden.de
D-01062 Dresden, Germany           web   : tpg.geo.tu-dresden.de
------------------------------------------------------------------------

------------------------------------------------------------------------------
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. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to