latex - Run pdflatex quietly -


I am calling pdflatex using the system () from my (C ++) program, saying that Not that all the trash pdflet screens are a bit upset in this case.

So ... how do I encourage pdflatex to leave long output? If only errors will appear, then better ...

To ignore all output, redirect Do pdflatex stdout to / dev / null:

  system ("pdflatex yourdocument" / dev / null ");  

If you want to add \ nonstopmode to the beginning of your document, you can direct tex to continue even when facing errors.

Receive the error message, get pipe pdflatex output in your program and ! Search for errors around rows starting with , for example

  FILE * outputf = popen ("pdflatex yourdocument", "R"); // ... output output from outputf and analyze ... pclose (outputf);  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -