GeneralRunaway Argument

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
asafw
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Runaway Argument

Post by asafw »

Hi there,

I am getting the following error:

Code: Select all

Runaway argument?
{\contentsline {table}{\numberline {1}{\ignorespaces \textit {Simulat\ETC.
! File ended while scanning use of \@writefile.
<inserted text> 
                \par 
l.32 \begin{document}
                     
? 
even though I don't see any missing "}". I looked in a previous post for the same type of error, but I'm not sure I'm having the same problem...
I also tried to remove ALL body from the document, and I still get this error! This is how my code looks like:

Code: Select all

% Don't mess with this unless you really want to be a LaTeX expert:
\documentclass[11pt]{article}
% These are the packages with the extra commands that I use most often:
\usepackage{fullpage}
\usepackage{multirow}
\usepackage{amsmath, amsfonts, amssymb, amsthm}
\usepackage{bm}
%\usepackage[dvips]{graphicx}
\usepackage{graphicx}
%\usepackage{algorithm, algorithmic}
\usepackage{enumerate}
%\usepackage{epstopdf}

% Here's how to define new commands:
\newcommand{\io}{\:\text{i.o.}}
\newcommand{\Exp}{\mathbb{E}}
\newcommand{\Var}{\text{Var}}
\newcommand{\Cov}{\text{Cov}}
\newcommand{\MSE}{\text{MSE}}
\newcommand{\Prob}{\mathbb{P}}
\newcommand{\Nor}{\mathcal{N}}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\argmin}{\operatornamewithlimits{argmin}}
\newcommand{\tr}{\text{tr}}
\newcommand{\nequiv}{\not\equiv}
\newcommand{\hwheader}[2]{\begin{flushright}#1\\STAT 531 Quiz #2\end{flushright}}

\newtheorem{prop} {Proposition}[section]
\newtheorem{claim}{Claim}


\begin{document}

\blah

\end{document}

I have also attached a .log file for this....

Thank you so much,

Asaf
Attachments
Runaway Argument error.log
(8 KiB) Downloaded 424 times
Last edited by Stefan Kottwitz on Sun Jun 10, 2012 1:08 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Runaway Argument

Post by Stefan Kottwitz »

Hi Asaf,

welcome to the board!

The log file is incomplete, it looks truncated. Perhaps check and re-upload.

Regarding your code example: the only error is, that \blah is an undefined command. This sample code is not useful because it doesn't show your problem. Post a compilable example, which you tested and which brings that error, so we could help to fix it.

Stefan
LaTeX.org admin
asafw
Posts: 37
Joined: Sun Jun 10, 2012 12:33 pm

Re: Runaway Argument

Post by asafw »

Thanks so much, Stefan - I appreciate the quick response!
I'm not experiencing the problem when I remove the back-slash \blah, so let me wait until it occurs again, and then I will attach a log file which will hopefully be okay..

Thanks again,

Asaf
Post Reply