Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make the vim Latex Suite recognize an "unknown package" error?
    primarykey
    data
    text
    <p>I'm using the Vim Latex Suite, and I love it. But there are some points in which it doesn't do what I want.</p> <p>From the <code>.vim/compiler/tex.vim</code> file:</p> <pre><code>" Depending on the 'ignore-level', the following kinds of messages are " ignored. An ignore level of 3 for instance means that messages 1-3 will be " ignored. By default, the ignore level is set to 4. " " 1. LaTeX Warning: Specifier 'h' changed to 't'. " This errors occurs when TeX is not able to correctly place a floating " object at a specified location, because of which it defaulted to the " top of the page. " 2. LaTeX Warning: Underfull box ... " 3. LaTeX Warning: Overfull box ... " both these warnings (very common) are due to \hbox settings not being " satisfied nicely. " 4. LaTeX Warning: You have requested ..., " This warning occurs in slitex when using the xypic package. " 5. Missing number error: " Usually, when the name of an included eps file is spelled incorrectly, " then the \bb-error message is accompanied by a bunch of "missing " number, treated as zero" error messages. This level ignores these " warnings. " NOTE: number 5 is actually a latex error, not a warning! </code></pre> <p>This list doesn't mention anything about missing packages. This can be noticed when compiling a Tex file that has a <code>\usepackage</code> which isn't on the system.</p> <p>normally one would get the error (when adding `\usepackage{notapackage}:</p> <pre><code>! LaTeX Error: File `notapackage.sty' not found. Type X to quit or &lt;RETURN&gt; to proceed, or enter new name. (Default extension: sty) </code></pre> <p>But in vim, since this type of error isn't supported, I get:</p> <p><img src="https://i.stack.imgur.com/KMcOz.png" alt="enter image description here"></p> <p>As you can see nothing is said about a missing package, just an cryptic <code>emergency stop</code></p> <p>Another problem is that when an unknown option is passed to a package, Vim opens up that packages <code>.sty</code> file, which can be mighty irritating.</p> <p>How do I make vim recognize this error?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload