xuhdev / vim-latex-live-preview

A Vim Plugin for Lively Previewing LaTeX PDF Output
https://www.topbug.net/blog/2013/06/13/live-preview-of-latex-in-vim/
GNU General Public License v3.0
832 stars 73 forks source link

Feature Request: ignore compile warnings on demand #77

Closed Factual0367 closed 1 year ago

Factual0367 commented 5 years ago

Hi, First of all, thank you very much for your work, it has been a critical part of my workflow. I have been using this plugin for quite a while but more often than not some small error or warning that does not effect the generated PDF file in anyway file prevents :LLPStartPreview from compiling correctly. Such errors or warnings can be bypassed when tex file is compiled manually with pdflatex. Is there any way to make :LLPStartPreview to ignore these warnings and force compile the tex file so to say? If not, can this be added to the project?

Thanks in advance.

ACupofAir commented 3 years ago

I annotate the two lines contains "shell_error!=0", which is the line 206 and line 242 in the /plugin/latexlivepreview.vim, then it will ignore the warnings and just preview it.