This is a well known problem with Vim (and not just Vim-LaTeX).
Certainly the problem and several solutions have been archived in many
places. It's too bad there's not a more visible FAQ that could address
it. Maybe there would be a way for vim-latex to detect a likely instance
of this problem and give appropriate instructions.

Regardless, you can find more information about the problem and some
solutions at:

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

I recommend:

* Using the latest version of Vim-LaTeX from git. That way you'll have
the most updated errorformat strings.

* Adding -file-line-error to your latex or pdflatex CompileRule (maybe
this shouldn't be done by default). For example, you can use:

let g:Tex_CompileRule_pdf = 'pdflatex -file-line-error
-interaction=nonstopmode $*'

in your .vimrc.

* If it's an option for your operation system, install the vimlatex (or
vimlatex.py) scripts on your system and add them to your CompileRule as
well.

Doing at least the first two of those will greatly improve Vim-LaTeX's
ability to properly catch errors and not direct you to unrelated files.

Best --
Ted

On 02/26/2012 08:40 AM, yanzhisheng wrote:
> hi, everyone
> The GVim I used now is v7.3.46.
> I use pdflatex to compile the *.tex source file. After it's completed,
> the gvim automatically open three split windows ,
> (1)  *.sty
> (2) quickfix
> (3)  *.log
> and the cursor is placed in the quickfix window indicating there is a waring
> related to the *.sty file in the first window.
> I thought this is very very uncomfortable!!! Because the *.tex window is
> hidden
>  (has become background). 
>  How should I do the keep the *.tex window is viewable even if
> there is a waring or a error encountered in the compiling process?
> thanks.
> ---yakex
>  
> 
> 
> 
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing 
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> 
> 
> 
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

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

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to