Conversion ToolsSuppress Error Messages during Compilation

Information and discussion about output converters related to LaTeX (e.g. dvips, ps2pdf, ...)
Post Reply
cyril4133
Posts: 4
Joined: Sat Feb 04, 2012 10:17 pm

Suppress Error Messages during Compilation

Post by cyril4133 »

Hi,

Having lots of mistake appearing with PDFLaTeX on terminal, I want to avoid seeing them and having to continuously press enter in order to finally get the PDF.


Thanks a lot,
Cyril

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Re: Suppress Error Messages during Compilation

Post by Juanjo »

Press q, then return to silently finish typesetting.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Suppress Error Messages during Compilation

Post by localghost »

cyril4133 wrote:[…] Having lots of mistake appearing with PDFLaTeX on terminal, I want to avoid seeing them and having to continuously press enter in order to finally get the PDF. […]
It's better to fix those errors than to ignore them.


Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Suppress Error Messages during Compilation

Post by Stefan Kottwitz »

There's a command line option for this:

Code: Select all

pdflatex -interaction=nonstopmode filename
Stefan
LaTeX.org admin
cyril4133
Posts: 4
Joined: Sat Feb 04, 2012 10:17 pm

Suppress Error Messages during Compilation

Post by cyril4133 »

Stefan_K wrote:There's a command line option for this:

Code: Select all

pdflatex -interaction=nonstopmode filename
Stefan
Perfect!

Thanks all for you answer
Post Reply