Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I compile a LaTeX file using TexWorks on Windows 7, if there is a problem with my LaTeX file, the compile time error is not shown in the console at the bottom of the window. Instead, compilation terminates. It will show overfull hbox errors, stuff like that, and show which figures it uses, but anything which causes the compilation to end (whether it be a runaway argument or even an undefined command) is not shown. Instead, it terminates compilation just showing some of the warnings up to (but not including) the final error that caused compilation to stop. However, if I call the pdflatex.exe command directly from a terminal, I do not have this problem. It is using MiKTeX 2.9, under Windows 7. Other installed programs include Tortoise SVN, but I have this problem even if I do the compilation in a directory that is not an SVN repository.

I want to add: I re-installed TexWorks and upgraded to v0.4.3 and the problem still occurs. The problem also occurs even if I delete all auxiliary files before compiling. However, it seems not to occur if I compile the file with the xelatex option rather than pdflatex (again, if I use pdflatex.exe from the command line it also works-the trouble is when I compile with pdflatex from within the TexWorks editor).

share|improve this question
1  
Check that you have 'Edit -> Preferences -> Typesetting -> Hide Output Panel' set to 'never' (just to make sure you can always see the output tabs). When you have a fail, is the log information you need not in either of the two tabs 'Console Outout' and 'LaTeX Errors' (I would expect the former to be more helpful if compilation fails, the latter may just say '-1')? – mas Aug 30 '11 at 19:48
It may also help to mention the version number you are using: my comment above is based on v0.4.3. – mas Aug 30 '11 at 20:06
I have v0.4.0 r.759. No, the log information is in neither of the two tabs. As an example, I got the console output ending with " Overfull \hbox (15.36456pt too wide) detected at line 1016 []\OMS/cmsy/m/n/10 j\OML/cmm/m/it/10 !\OMS/cmsy/m/n/10 j \OT1/cmr/m/n/10 \OM L/cmm/m/it/10 E \OMS/cmsy/m/n/10 ! j[]\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 !\OT1/c mr/m/n/10 ) \OMS/cmsy/m/n/10 " while the true error occurs many lines after that and latex errors also only shows undefull hbox warnings. – matt Aug 30 '11 at 20:17
It does not show in the console - does it show in the .log-file? Or does this stop at the same time where the console output stops? (Or earlier/later/at the end?) – Stephen Aug 31 '11 at 17:16
It doesn't show in the .log file either. This stops at exactly the same point that the console output stops, which is somewhere before the true error (the exact amount before seems to vary). – matt Aug 31 '11 at 21:25
show 2 more comments

closed as too localized by Joseph Wright Nov 13 '11 at 18:03

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.