GeneralRunaway Argument

LaTeX specific issues not fitting into one of the other forums of this category.
Bubb
Posts: 2
Joined: Mon Jun 27, 2011 5:06 pm

Runaway Argument

Post by Bubb »

Runaway argument?
{\headcommand {\beamer@subsec
! File ended while scanning use of \@writefile.
<inserted text>
\par
l.7 \begin{document}
I received this error while I was trying to compile my LaTeX presentation
But there is no missing "}" in my code.

Code: Select all

Code, edit and compile here:
\documentclass{beamer}
\usepackage[latin1]{inputenc}
\usetheme{Warsaw}
\title[3D Desktop Scanner]{3D Desktop Scanner}
\institute{Begeleider: Rein vd Boomgaard}
\author{Remco Gubbels}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section{Introduction}
\subsection{Doel}
\begin{frame}{Doel}
\begin{itemize}
\item Fysiek model
\pause
\item Laserscan
\pause
\item Virtueel model
\end{itemize}
\end{frame}
\begin{frame}{Doel}
\begin{figure}
\includegraphics[scale=0.5]{laser_scanner.jpg}
\end{figure}
\end{frame}
\subsection{Voor de scriptie}
\begin{frame}{Informatie}
Wat was er al
\begin{itemize}
\item Het concept
\item Wat oppervlakkige informatie voor de aparte onderdelen
\item Oude scripties
\end{itemize}
\end{frame}
\subsection{Verschillende onderdelen}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Anyone that knows what's going wrong?

Bubb

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10310
Joined: Mon Mar 10, 2008 9:44 pm

Re: Runaway Argument

Post by Stefan Kottwitz »

Hi Bubb,

welcome to the board!

I can compile this file without problem, there's no error. Could you please post your .log file as attachment to a post? Perhaps we would find further useful information there.
And please ensure that the posted example is really the same as the one which gave the error.

Stefan
LaTeX.org admin
Bubb
Posts: 2
Joined: Mon Jun 27, 2011 5:06 pm

Runaway Argument

Post by Bubb »

Heey Stefan,

Thanks for the quick reply

This is the log file it created when the error occured:

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (format=latex 2011.4.12) 27 JUN 2011 17:00
entering extended mode
%&-line parsing enabled.
**voorstel.tex
(./voorstel.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf/tex/latex/beamer/base/beamer.cls
(/usr/share/texmf/tex/latex/beamer/base/beamerbasercs.sty
Package: beamerbasercs 2007/01/28 (rcs-revision 1.4)
)
Document Class: beamer 2007/03/11 cvs version 3.07 A class for typesetting pres
entations (rcs-revision 1.70)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemodes.sty
Package: beamerbasemodes 2007/01/28 (rcs-revision 1.22)
\beamer@tempbox=\box26
\beamer@tempcount=\count79
\c@beamerpauses=\count80
(/usr/share/texmf/tex/latex/beamer/base/beamerbasedecode.sty
Package: beamerbasedecode 2007/01/28 (rcs-revision 1.20)
\beamer@slideinframe=\count81
\beamer@minimum=\count82
)
\beamer@commentbox=\box27
\beamer@modecount=\count83
)
\headheight=\dimen102
\headdp=\dimen103
\footheight=\dimen104
\sidebarheight=\dimen105
\beamer@tempdim=\dimen106
\beamer@finalheight=\dimen107
\beamer@animht=\dimen108
\beamer@animdp=\dimen109
\beamer@animwd=\dimen110
\beamer@leftmargin=\dimen111
\beamer@rightmargin=\dimen112
\beamer@leftsidebar=\dimen113
\beamer@rightsidebar=\dimen114
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Edit:
I tried to delete all the files generated by the pdflatex command and then tried again, it works now for some reason.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10310
Joined: Mon Mar 10, 2008 9:44 pm

Re: Runaway Argument

Post by Stefan Kottwitz »

This log file is incomplete, there's no error to find.
Ah, I see your edit. Yes, sometimes already deleting an aux file helps.

Stefan
LaTeX.org admin
akeinsley
Posts: 7
Joined: Sun Jan 15, 2012 7:47 pm

Runaway Argument

Post by akeinsley »

I have also been getting a Runaway Argument error. I'm not sure how to post the message itself, but the error looks like this,

Code: Select all

Runaway argument?
{d
./01-27.tex:17: File ended while scanning use of \@newl@bel.
<inserted text>
\par
l.17 \begin{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This has been working the entire time, and getting rid of the new stuff doesn't help either. Anyone have a suggestion?

Thanks,
User avatar
Stefan Kottwitz
Site Admin
Posts: 10310
Joined: Mon Mar 10, 2008 9:44 pm

Runaway Argument

Post by Stefan Kottwitz »

Hi akeinsley,

try to post a minimal example, which produces that error, so we could check and help to fix it. You could create such minimal example by making a copy of your document and reducing that.

Stefan
LaTeX.org admin
akeinsley
Posts: 7
Joined: Sun Jan 15, 2012 7:47 pm

Runaway Argument

Post by akeinsley »

Here is the part I was working on when it all went wrong. I've removed the other areas at were working prior to this.

Code: Select all

Code, edit and compile here:
\documentclass{beamer}
\usetheme{Singapore}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage[retainorgcmds]{IEEEtrantools}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage[english]{babel}
\usepackage{color}
\title{Macroeconomics I \\ Optimization Techniques II}
\author{Andrew Keinsley}
\institute{University of Kansas}
\date{January 27, 2012}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\frametitle{Agenda}
\tableofcontents
\end{frame}
\subsection{Basic Differential Equations}
\begin{frame}
\frametitle{Basic Differential Equations}
A differential equation is an equation that involves the derivatives of a function as well as the function itself.
\vspace{.5cm}
These are the backbone of macroeconomic models. We constantly model how variable change over time, which involves the derivative of the variable with respect to time as well as the variable itself.
\end{frame}
\begin{frame}
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Thanks for the help. Let me know if you need anything else.
akeinsley
Posts: 7
Joined: Sun Jan 15, 2012 7:47 pm

Re: Runaway Argument

Post by akeinsley »

Alright, I copied and pasted everything except for the part I posted earlier into an new file and it worked fine. I then started re-placing each frame of the part that didn't work to see where I went wrong.

I found that every frame in the section I posted worked fine until the last one. At that point I got some sort of "there's nothing to end" error. So I eliminated the frame and typeset it again, where then I received the error term I originally posted.

I'm not sure if that helps at all, but I think it's worth a shot.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10310
Joined: Mon Mar 10, 2008 9:44 pm

Runaway Argument

Post by Stefan Kottwitz »

akeinsley wrote:Alright, I copied and pasted everything except for the part I posted earlier into an new file and it worked fine.
The code above produces an error, because \subsection is used without a \section.
akeinsley wrote:At that point I got some sort of "there's nothing to end" error.
That's the next error:

Code: Select all

! LaTeX Error: There's no line here to end.
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This error is shown if you use \\ at a bad place. Here it's in this equation:

Code: Select all

Code, edit and compile here:
\begin{equation}
L(t) = Ce^{nt} \label{labor4} \\
\;\;\; \mathrm{where} \; C = e^c
\end{equation}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Remove the \\, or use a multiline math environment of the amsmath package.

Stefan
LaTeX.org admin
akeinsley
Posts: 7
Joined: Sun Jan 15, 2012 7:47 pm

Re: Runaway Argument

Post by akeinsley »

Works great! I appreciate the help!
Post Reply