On Fri, Mar 20, 2015 at 5:32 AM, Jürgen Spitzmüller <sp...@lyx.org> wrote: > 2015-03-20 7:37 GMT+01:00 Scott Kostyshak: >> >> commit cd8be655f1895957fb169cdf361297d9ecc40ec9 >> Author: Scott Kostyshak <skost...@lyx.org> >> Date: Wed Mar 18 16:51:12 2015 -0400 >> >> Export/view a PDF even if error >> >> A PDF is often still produced after a LaTeX error. >> >> If there was an error when exporting a PDF, we now give an error >> and the PDF (if it exists), where before we gave the error and >> not the PDF. The GUI and command line behaviors are consistent: >> in the GUI an error is given and the PDF is viewed; on the >> command line, a non-zero exit code is given and a PDF is created. > > > I think the behavior now is dangerous. The PDF pops up immediately and the > risk is high that people just tend to ignore the error message.
Ah, yes I see what you mean. Especially if the PDF opens maximized so the user does not even see the error at first. Perhaps he/she immediately sends the PDF off to the publisher before even realizing. > Could we do it like this: Add a button to the error dialog "Show Output > anyway" and only display the PDF is this is pressed? Yes that makes sense. I will wait a bit to see if others have an opinion on this and then start working on it. Scott