So here's an excerpt from the package called silence:

These are the same as the starless versions above, except that they target the message not as it appears in the log file but as it was produced. For instance, suppose you have an undefined citation, that is you wrote \cite{Spinoza1677} and LATEX complains as follows:

LaTeX Warning: Citation ‘Spinoza1677’ on page 4 undefined on input line 320.

You know you have to bring your bibliography up to date, but right now you’re working on a terrific idea and you don’t have time to waste. So you say:

\WarningFilter{latex}{Citation ‘Spinoza1677’}

I myself am compiling using LuaLaTeX and have a lot of errors of the following type:

LaTeX Error: File 'files/images/...' not found.

With some more specific stuff where the three dots are located.

I am trying to filter these error mesesages out. But using:



\WarningFilter{latex}{File 'files/images}

somehow isn't working.

  • 5
    your snippets show you used a WarningFilter but had an Error, Warnings are not the same as errors. – David Carlisle Oct 4 '17 at 8:08
  • Why not use the demo option? – Johannes_B Oct 4 '17 at 9:13
  • @Johannes_B Could you elaborate a bit on your suggestion please? – Vincent Mia Edie Verheyen Oct 4 '17 at 9:27
  • Add demo to your global options. – Johannes_B Oct 4 '17 at 9:32

As per User David Carlisle's comment (first comment to OP), the trick was to change




Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.