[3716] in SIPB bug reports
Your OLC question about "latex"
daemon@ATHENA.MIT.EDU (wchuang@Athena.MIT.EDU)
Wed May 5 21:53:21 1993
From: wchuang@Athena.MIT.EDU
Date: Wed, 5 May 93 21:52:57 -0400
To: "Anne Therese C. Stephens" <felix@Athena.MIT.EDU>
Cc: bug-sipb@Athena.MIT.EDU
--------
Hello, Anne... I'm sorry I couldn't answer your OLC question before you
logged out. Your question was:
> I'm getting a lot of Runaway argument errors on the files I created
> using tgrind on C++ code. Is there a simple way to fix these errors
> or can they just be ignored?
I figured out what the problem is. If you go to the *end* of each of
those C++ files of yours, and hit <return> (so that the text cursor in
Emacs is at the end of the file, on a line by itself)... and then you
re-tgrind the file and re-latex, you'll be fine.
It looks like LaTeX dies when the file doesn't have that extra newline
at the end.
If you don't want this to happen in the future, you can stick the
following code in your .emacs file (if you don't have one, you can
create one in Emacs):
(setq require-final-newline t)
which will make Emacs always insert a <return> at the end of your
source code files (it'll take effect with the next Emacs window that
you call up)
I hope this answers your question, and thanks for using OLC!
o William Chuang
o CSS Student Consultant