Re: [OS X TeX] Non–Recovery from Error

Herbert Schulz herbs at
Mon Mar 7 17:03:30 CET 2011

On Mar 7, 2011, at 9:56 AM, Charlie Ros5e wrote:

> LaTeX Troopers! 
> I'm running TexShop 2.37 on OS X 10.6.6 and TexShop is misbehaving in a way I've never seen before. As a simple example of the behavior, suppose I forget a $ sign in an in–line expression within Foucault.tex. TexShop shows me the error in a Console window, of course. But, when I correct the error, save the source, and try to compile again, I still get and error albeit a different one:
> 	Runaway argument?
> 	{ 
> 	! File ended while scanning use of \@newl at bel.
> 	<inserted text> 
> 	                \par 
> 	l.19 \begin{document}
> When I look at the project files in Finder, I see the following.
> The only way I can recover is to delete all the project files except for Foucault.tex, and then recompile. When I do this, everything is ducky.
> This continues to happen even after I restart my computer, and have only Finder and TexShop running ... plus my widgets, of course, but I've recovered from errors with them running for years.
> Here's a BIG clue: If I start a new, test project even while 'Foucault' is loaded in TextShop, I can make all kinds of errors in the test.tex file, get my error report, fix the errors, and recompile successfully as I've always done before. Clearly, something is hosed in Foucault.tex but I have no idea what it could be.
> Can any of you pass some wisdom my way?
> With many thanks,


A missing $ may not be detected until the end of a paragraph is read in and in that process your aux file, etc., may get damaged. It is not too unusual to have to do a clean (you can use TeXShop's File->Trash Aux Files command) of those files.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)

More information about the macostex-archives mailing list