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

\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}
\begin{frame}{Verschillende onderdelen}
\begin{enumerate}
\item Camera kalibratie
\item Beeldbewerking
\item Punt berekening
\item Grafische bewerking
\end{enumerate}
\end{frame}

\section{Kalibratie}
\begin{frame}{Camera kalibratie}
\begin{itemize}
\item Vormen van de 3D omgeving
\pause
\item Kalibratie technieken:
\begin{itemize}
\item Zhengyou Zhang's "A flexible new technique for camera calibration" (1998)
\item Direct Linear Transformation
\end{itemize}
\end{itemize}
\pause
\begin{figure}
  \includegraphics[scale=0.3]{figure-1.png}
\end{figure}
\end{frame}

\begin{frame}{Zhang's Kalibratie Techniek}
Gebruikt voor de interne kalibratie matrix
\begin{itemize}
\item Maakt gebruik van paar foto's
\item Schaakbord patroon
\end{itemize}
\end{frame}

\begin{frame}{Direct Linear Transformation}
Gebruikt voor de externe kalibratie matrix
\begin{itemize}
\item Heeft bekende 2D met matchende 3D punten nodig
\end{itemize}
\end{frame}

\section{Beeldbewerking}
\begin{frame}{Beeldbewerking}
Probleem: Dedecteren van de laser
\begin{itemize}
\item Experimenteel onderzoek
\item Oplossing: RBG waarden
\end{itemize}
\end{frame}

\begin{frame}{Experimenteel onderzoek}
\begin{itemize}
\item Kleur in RGB
\item Laserlijn is vel rood
\end{itemize}
Plaatjes
\end{frame}

\section{Punt berekening}
\begin{frame}{Punt berekening}
\begin{itemize}
\item Laser plane berekenen
\item Punt op het laser plane bepalen
\item omzetten naar x, y, z waarden
\end{itemize}
\pause
\begin{figure}
  \includegraphics[scale=0.2]{figure-2.png}
\end{figure}
\end{frame}

\section{Grafische bewerking}
\subsection{Bedoeling}
\begin{frame}{Bedoeling}
\begin{itemize}
\item Points cloud
\item Omzetten naar mesh
\end{itemize}
\begin{figure}
  \includegraphics[scale=0.5]{figure-3.png}
\end{figure}
\end{frame}

\subsection{Delaunay}
\begin{frame}{Delaunay}
\begin{itemize}
\item Voorbereiding
\begin{itemize}
\item Grote cellen berekenen
\item Punten in cellen verdelen
\end{itemize}
\item Begin
\begin{itemize}
\item Pak een willekeurig begin punt
\item Zoek het tweede punt erbij
\end{itemize}
\item En dan?
\begin{itemize}
\item Bounding Box
\end{itemize}
\item Range Searching
\item Shelling
\end{itemize}
\end{frame}

\section{Resultaten}
\begin{frame}
Plaatjes hoofd
Plaatjes aparte onderdelen
\end{frame}

\subsection{Conclusie}
\begin{frame}
\begin{itemize}
\item Kalibratie werkt met een goede nauwkeurigheid
\item Detectie laserlijn werkt ook redelijk, maar met een paar foute metingen
\item Omrekenen punt van 2D naar 3D werkt
\item Delaunay werkt, alleen resultaat wordt beinvloed door de foute metingen
\end{itemize}
\end{frame}

\section{Wat kan er nog aan gedaan worden}
\begin{frame}
\begin{itemize}
\item Verbeteringen:
\begin{itemize}
\item Verbetering detectie laserlijn
\item Filter systeem
\end{itemize}
\pause
\item Extra's:
\begin{itemize}
\item Combineren meerdere meshes
\item Real-time
\end{itemize}
\end{itemize}
\end{frame}

\end{document}
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: 10308
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
\beamer@boxsize=\dimen115
\beamer@vboxoffset=\dimen116
\beamer@descdefault=\dimen117
\beamer@descriptionwidth=\dimen118
\beamer@lastskip=\skip41
\beamer@areabox=\box28
\beamer@animcurrent=\box29
\beamer@animshowbox=\box30
\beamer@sectionbox=\box31
\beamer@logobox=\box32
\beamer@linebox=\box33
\beamer@sectioncount=\count84
\beamer@subsubsectionmax=\count85
\beamer@subsectionmax=\count86
\beamer@sectionmax=\count87
\beamer@totalheads=\count88
\beamer@headcounter=\count89
\beamer@partstartpage=\count90
\beamer@sectionstartpage=\count91
\beamer@subsectionstartpage=\count92
\beamer@animationtempa=\count93
\beamer@animationtempb=\count94
\beamer@xpos=\count95
\beamer@ypos=\count96
\beamer@showpartnumber=\count97
\beamer@currentsubsection=\count98
\beamer@coveringdepth=\count99
\beamer@sectionadjust=\count100
\beamer@tocsectionnumber=\count101

(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoptions.sty
Package: beamerbaseoptions 2007/01/28 (rcs-revision 1.8)

(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
))
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfcore.sty
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
)
(/etc/texmf/tex/latex/config/graphics.cfg
File: graphics.cfg 2009/08/28 v1.8 graphics configuration of TeX Live
)
Package graphics Info: Driver file: dvips.def on input line 91.

(/usr/share/texmf-texlive/tex/latex/graphics/dvips.def
File: dvips.def 1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
))
\Gin@req@height=\dimen119
\Gin@req@width=\dimen120
)
(/usr/share/texmf/tex/latex/pgf/systemlayer/pgfsys.sty
(/usr/share/texmf/tex/latex/pgf/utilities/pgfrcs.sty
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-common.tex
\pgfutil@everybye=\toks15
)
(/usr/share/texmf/tex/generic/pgf/utilities/pgfutil-latex.def)
(/usr/share/texmf/tex/generic/pgf/utilities/pgfrcs.code.tex
Package: pgfrcs 2008/02/20 v2.00 (rcs-revision 1.21)
))
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys.code.tex
Package: pgfsys 2008/02/07 v2.00 (rcs-revision 1.31)

(/usr/share/texmf/tex/generic/pgf/utilities/pgfkeys.code.tex
\pgfkeys@pathtoks=\toks16
\pgfkeys@temptoks=\toks17
)
\pgf@x=\dimen121
\pgf@y=\dimen122
\pgf@xa=\dimen123
\pgf@ya=\dimen124
\pgf@xb=\dimen125
\pgf@yb=\dimen126
\pgf@xc=\dimen127
\pgf@yc=\dimen128
\c@pgf@counta=\count102
\c@pgf@countb=\count103
\c@pgf@countc=\count104
\c@pgf@countd=\count105

(/usr/share/texmf/tex/generic/pgf/systemlayer/pgf.cfg
File: pgf.cfg 2008/01/13  (rcs-revision 1.6)
)
Package pgfsys Info: Driver file for pgf: pgfsys-dvips.def on input line 885.

(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-dvips.def
File: pgfsys-dvips.def 2007/12/12  (rcs-revision 1.19)

(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsys-common-postscript.def
File: pgfsys-common-postscript.def 2008/02/07  (rcs-revision 1.18)
\pgf@objectcount=\count106
)))
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsyssoftpath.code.tex
File: pgfsyssoftpath.code.tex 2008/01/23  (rcs-revision 1.6)
\pgfsyssoftpath@smallbuffer@items=\count107
\pgfsyssoftpath@bigbuffer@items=\count108
)
(/usr/share/texmf/tex/generic/pgf/systemlayer/pgfsysprotocol.code.tex
File: pgfsysprotocol.code.tex 2006/10/16  (rcs-revision 1.4)
))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
Package: xcolor 2007/01/21 v2.11 LaTeX color extensions (UK)

(/etc/texmf/tex/latex/config/color.cfg
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
)
Package xcolor Info: Driver file: dvips.def on input line 225.
Package xcolor Info: Model `cmy' substituted by `cmy0' on input line 1337.
Package xcolor Info: Model `RGB' extended on input line 1353.
Package xcolor Info: Model `HTML' substituted by `rgb' on input line 1355.
Package xcolor Info: Model `Hsb' substituted by `hsb' on input line 1356.
Package xcolor Info: Model `tHsb' substituted by `hsb' on input line 1357.
Package xcolor Info: Model `HSB' substituted by `hsb' on input line 1358.
Package xcolor Info: Model `Gray' substituted by `gray' on input line 1359.
Package xcolor Info: Model `wave' substituted by `hsb' on input line 1360.
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcore.code.tex
Package: pgfcore 2008/01/15 v2.00 (rcs-revision 1.6)

(/usr/share/texmf/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmathutil.code.tex
\pgfmath@box=\box34
)
(/usr/share/texmf/tex/generic/pgf/math/pgfmathparser.code.tex
\pgfmath@stack=\toks18
\c@pgfmath@parsecounta=\count109
\c@pgfmath@parsecountb=\count110
\c@pgfmath@parsecountc=\count111
\pgfmath@parsex=\dimen129
)
(/usr/share/texmf/tex/generic/pgf/math/pgfmathoperations.code.tex
(/usr/share/texmf/tex/generic/pgf/math/pgfmathtrig.code.tex)
(/usr/share/texmf/tex/generic/pgf/math/pgfmathrnd.code.tex))
(/usr/share/texmf/tex/generic/pgf/math/pgfmathbase.code.tex)))
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex
File: pgfcorepoints.code.tex 2008/02/03  (rcs-revision 1.13)
\pgf@picminx=\dimen130
\pgf@picmaxx=\dimen131
\pgf@picminy=\dimen132
\pgf@picmaxy=\dimen133
\pgf@pathminx=\dimen134
\pgf@pathmaxx=\dimen135
\pgf@pathminy=\dimen136
\pgf@pathmaxy=\dimen137
\pgf@xx=\dimen138
\pgf@xy=\dimen139
\pgf@yx=\dimen140
\pgf@yy=\dimen141
\pgf@zx=\dimen142
\pgf@zy=\dimen143
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathconstruct.code.tex
File: pgfcorepathconstruct.code.tex 2008/02/13  (rcs-revision 1.14)
\pgf@path@lastx=\dimen144
\pgf@path@lasty=\dimen145
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathusage.code.tex
File: pgfcorepathusage.code.tex 2008/01/23  (rcs-revision 1.11)
\pgf@shorten@end@additional=\dimen146
\pgf@shorten@start@additional=\dimen147
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorescopes.code.tex
File: pgfcorescopes.code.tex 2008/01/15  (rcs-revision 1.26)
\pgfpic=\box35
\pgf@hbox=\box36
\pgf@layerbox@main=\box37
\pgf@picture@serial@count=\count112
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoregraphicstate.code.tex
File: pgfcoregraphicstate.code.tex 2007/12/12  (rcs-revision 1.8)
\pgflinewidth=\dimen148
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransformations.code.tex
File: pgfcoretransformations.code.tex 2008/02/04  (rcs-revision 1.10)
\pgf@pt@x=\dimen149
\pgf@pt@y=\dimen150
\pgf@pt@temp=\dimen151
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorequick.code.tex
File: pgfcorequick.code.tex 2006/10/11  (rcs-revision 1.2)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreobjects.code.tex
File: pgfcoreobjects.code.tex 2006/10/11  (rcs-revision 1.2)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepathprocessing.code.tex
File: pgfcorepathprocessing.code.tex 2008/01/23  (rcs-revision 1.7)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex
File: pgfcorearrows.code.tex 2007/06/07  (rcs-revision 1.8)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreshade.code.tex
File: pgfcoreshade.code.tex 2007/12/10  (rcs-revision 1.9)
\pgf@max=\dimen152
\pgf@sys@shading@range@num=\count113
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoreimage.code.tex
File: pgfcoreimage.code.tex 2008/01/15  (rcs-revision 1.1)
\pgfexternal@startupbox=\box38
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorelayers.code.tex
File: pgfcorelayers.code.tex 2008/01/15  (rcs-revision 1.1)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcoretransparency.code.tex
File: pgfcoretransparency.code.tex 2008/01/17  (rcs-revision 1.2)
)
(/usr/share/texmf/tex/generic/pgf/basiclayer/pgfcorepatterns.code.tex
File: pgfcorepatterns.code.tex 2008/01/15  (rcs-revision 1.1)
)))
(/usr/share/texmf/tex/latex/pgf/basiclayer/pgfbaseimage.sty

Package pgf Warning: This package is obsolete and no longer needed on input lin
e 13.

) (/usr/share/texmf/tex/latex/pgf/utilities/xxcolor.sty
Package: xxcolor 2003/10/24 ver 0.1
\XC@nummixins=\count114
\XC@countmixins=\count115
)
(/usr/share/texmf-texlive/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2009/06/22 v3.00

(/usr/share/texmf-texlive/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2009/06/22 v3.00 Basic AMSFonts support
\@emptytoks=\toks19
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info:    Overwriting math alphabet `\mathfrak' in version `bold'
(Font)                  U/euf/m/n --> U/euf/b/n on input line 96.
))
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
Package: geometry 2008/12/21 v4.2 Page Geometry

(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty
Package: ifpdf 2009/04/10 v2.0 Provides the ifpdf switch (HO)
Package ifpdf Info: pdfTeX in pdf mode not detected.
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty
Package: ifvtex 2008/11/04 v1.4 Switches for detecting VTeX and its modes (HO)
Package ifvtex Info: VTeX not detected.
)
\Gm@cnth=\count116
\Gm@cntv=\count117
\c@Gm@tempcnt=\count118
\Gm@bindingoffset=\dimen153
\Gm@wd@mp=\dimen154
\Gm@odd@mp=\dimen155
\Gm@even@mp=\dimen156
\Gm@dimlist=\toks20
)
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
Package: hyperref 2009/10/09 v6.79a Hypertext links for LaTeX

(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty
Package: ifxetex 2009/01/23 v0.5 Provides ifxetex conditional
)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
Package: hycolor 2009/10/02 v1.5 Code for color options of hyperref/bookmark (H
O)

(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty
Package: xcolor-patch 2009/10/02 xcolor patch
))
\@linkdim=\dimen157
\Hy@linkcounter=\count119
\Hy@pagecounter=\count120

(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def
File: pd1enc.def 2009/10/09 v6.79a Hyperref: PDFDocEncoding definition (HO)
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
Package: etexcmds 2007/12/12 v1.2 Prefix for e-TeX command names (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2007/09/09 v1.2 Providing info/warning/message (HO)
)
Package etexcmds Info: Could not find \expanded.
(etexcmds)             That can mean that you are not using pdfTeX 1.50 or
(etexcmds)             that some package has redefined \expanded.
(etexcmds)             In the latter case, load this package earlier.
)
(/etc/texmf/tex/latex/config/hyperref.cfg
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
Package: kvoptions 2009/08/13 v3.4 Keyval support for LaTeX options (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty
Package: kvsetkeys 2009/07/30 v1.5 Key value parser with default handler suppor
t (HO)
))
Package hyperref Info: Option `bookmarks' set `true' on input line 2864.
Package hyperref Info: Option `bookmarksopen' set `true' on input line 2864.
Package hyperref Info: Option `implicit' set `false' on input line 2864.
Package hyperref Info: Hyper figures OFF on input line 2975.
Package hyperref Info: Link nesting OFF on input line 2980.
Package hyperref Info: Hyper index ON on input line 2983.
Package hyperref Info: Plain pages OFF on input line 2990.
Package hyperref Info: Backreferencing OFF on input line 2995.

Implicit mode OFF; no redefinition of LaTeX internals
Package hyperref Info: Bookmarks ON on input line 3191.
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
\Urlmuskip=\muskip10
Package: url 2006/04/12  ver 3.3  Verb mode for urls, etc.
)
LaTeX Info: Redefining \url on input line 3428.

(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
Package: bitset 2007/09/28 v1.0 Data type bit set (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty
Package: intcalc 2007/09/27 v1.1 Expandable integer calculations (HO)
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
Package: bigintcalc 2007/11/11 v1.1 Expandable big integer calculations (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
Package: pdftexcmds 2009/09/23 v0.6 LuaTeX support for pdfTeX utility functions
 (HO)

(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty
Package: ifluatex 2009/04/17 v1.2 Provides the ifluatex switch (HO)
Package ifluatex Info: LuaTeX not detected.
)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2009/08/05 v1.0 Some LaTeX kernel commands for general use (HO
)
)
Package pdftexcmds Info: LuaTeX not detected.
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
)))
\Fld@menulength=\count121
\Field@Width=\dimen158
\Fld@charsize=\dimen159
\Field@toks=\toks21
Package hyperref Info: Hyper figures OFF on input line 4377.
Package hyperref Info: Link nesting OFF on input line 4382.
Package hyperref Info: Hyper index ON on input line 4385.
Package hyperref Info: backreferencing OFF on input line 4392.
Package hyperref Info: Link coloring OFF on input line 4397.
Package hyperref Info: Link coloring with OCG OFF on input line 4402.
Package hyperref Info: PDF/A mode OFF on input line 4407.

(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty
Package: atbegshi 2008/07/31 v1.9 At begin shipout hook (HO)
)

Package hyperref Warning: Option `pdfpagelabels' is turned off
(hyperref)                because \thepage is undefined.

Hyperref stopped early
)
*hyperref using default driver hdvips*
(/usr/share/texmf-texlive/tex/latex/hyperref/hdvips.def
File: hdvips.def 2009/10/09 v6.79a Hyperref driver for dvips

(/usr/share/texmf-texlive/tex/latex/hyperref/pdfmark.def
File: pdfmark.def 2009/10/09 v6.79a Hyperref definitions for pdfmark specials
\pdf@docset=\toks22
\pdf@box=\box39
\pdf@toks=\toks23
\pdf@defaulttoks=\toks24
\Fld@listcount=\count122
))
(/usr/share/texmf-texlive/tex/latex/base/size11.clo
File: size11.clo 2007/10/19 v1.4h Standard LaTeX file (size option)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecompatibility.sty
Package: beamerbasecompatibility 2007/01/28  (rcs-revision 1.63)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasefont.sty
Package: beamerbasefont 2007/01/28  (rcs-revision 1.16)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasemisc.sty
Package: beamerbasemisc 2007/01/28  (rcs-revision 1.24)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetwoscreens.sty
Package: beamerbasetwoscreens 2007/01/28  (rcs-revision 1.7)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseoverlay.sty
Package: beamerbaseoverlay 2007/01/28  (rcs-revision 1.50)
\beamer@argscount=\count123
\beamer@lastskipcover=\skip42
\beamer@trivlistdepth=\count124
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetitle.sty
Package: beamerbasetitle 2007/01/28  (rcs-revision 1.25)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasesection.sty
Package: beamerbasesection 2007/01/28  (rcs-revision 1.21)
\c@lecture=\count125
\c@part=\count126
\c@section=\count127
\c@subsection=\count128
\c@subsubsection=\count129
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframe.sty
Package: beamerbaseframe 2007/01/28  (rcs-revision 1.60)
\beamer@framebox=\box40
\beamer@frametitlebox=\box41
\beamer@zoombox=\box42
\beamer@zoomcount=\count130
\beamer@zoomframecount=\count131
\beamer@frametextheight=\dimen160
\c@subsectionslide=\count132
\beamer@frametopskip=\skip43
\beamer@framebottomskip=\skip44
\beamer@frametopskipautobreak=\skip45
\beamer@framebottomskipautobreak=\skip46
\beamer@envbody=\toks25
\c@framenumber=\count133
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseverbatim.sty
Package: beamerbaseverbatim 2007/01/28  (rcs-revision 1.8)
\beamer@verbatimfileout=\write3
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframesize.sty
Package: beamerbaseframesize 2007/01/28  (rcs-revision 1.18)
\beamer@splitbox=\box43
\beamer@autobreakcount=\count134
\beamer@autobreaklastheight=\dimen161
\beamer@frametitletoks=\toks26
\beamer@framesubtitletoks=\toks27
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbaseframecomponents.sty
Package: beamerbaseframecomponents 2007/01/28  (rcs-revision 1.41)
\beamer@footins=\box44
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasecolor.sty
Package: beamerbasecolor 2007/01/28  (rcs-revision 1.42)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenotes.sty
Package: beamerbasenotes 2007/01/28  (rcs-revision 1.23)
\beamer@frameboxcopy=\box45
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetoc.sty
Package: beamerbasetoc 2007/01/28  (rcs-revision 1.21)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetemplates.sty
Package: beamerbasetemplates 2007/01/28  (rcs-revision 1.51)
\beamer@sbttoks=\toks28

(/usr/share/texmf/tex/latex/beamer/base/beamerbaseauxtemplates.sty
Package: beamerbaseauxtemplates 2007/01/28  (rcs-revision 1.28)

(/usr/share/texmf/tex/latex/beamer/base/beamerbaseboxes.sty
Package: beamerbaseboxes 2007/03/11  (rcs-revision 1.32)
\bmb@box=\box46
\bmb@colorbox=\box47
\bmb@boxshadow=\box48
\bmb@boxshadowball=\box49
\bmb@boxshadowballlarge=\box50
\bmb@temp=\dimen162
\bmb@dima=\dimen163
\bmb@dimb=\dimen164
\bmb@prevheight=\dimen165
)
\beamer@blockheadheight=\dimen166
))
(/usr/share/texmf/tex/latex/beamer/base/beamerbaselocalstructure.sty
Package: beamerbaselocalstructure 2007/01/28  (rcs-revision 1.53)

(/usr/share/texmf-texlive/tex/latex/tools/enumerate.sty
Package: enumerate 1999/03/05 v3.00 enumerate extensions (DPC)
\@enLab=\toks29
)
\c@figure=\count135
\c@table=\count136
\abovecaptionskip=\skip47
\belowcaptionskip=\skip48
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasenavigation.sty
Package: beamerbasenavigation 2007/01/28  (rcs-revision 1.36)
)
(/usr/share/texmf/tex/latex/beamer/base/beamerbasetheorems.sty
Package: beamerbasetheorems 2007/01/28  (rcs-revision 1.10)

(/usr/share/texmf-texlive/tex/latex/translator/translator.sty
Package: translator 2007/03/11 ver 1.00

(/usr/share/texmf-texlive/tex/latex/translator/translator-language-mappings.tex
)) (/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip49

For additional information on amsmath, use the `?' option.
(/usr/share/texmf-texlive/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01

(/usr/share/texmf-texlive/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks30
\ex@=\dimen167
))
(/usr/share/texmf-texlive/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen168
)
(/usr/share/texmf-texlive/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count137
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count138
\leftroot@=\count139
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count140
\DOTSCASE@=\count141
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box51
\strutbox@=\box52
\big@size=\dimen169
LaTeX Font Info:    Redeclaring font encoding OML on input line 567
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: 10308
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}
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: 10308
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

\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}
Consider a basic differential equation:
$$\dot{y}(t) = -\alpha y(t) - x(t)$$

\vspace{.5cm}
Here we want to solve for $y(t)$.  To do so, let's first gather every $y(t)$ on the left side.
\begin{equation}
\dot{y}(t) + \alpha y(t) = -x(t) \label{difeq1}
\end{equation}

\end{frame}

\begin{frame}
\frametitle{Integrating Factor}
Now we will multiply both sides of (\ref{difeq1}) by what's called the integrating factor.  Here, our integrating factor is  
$$e^{\int  \!\! \alpha \mathrm{d}t} = e^{\alpha t}$$

\vspace{.5cm}
Thus, our differential equation becomes:
\begin{equation}
e^{\alpha t} \left[\dot{y}(t) + \alpha y(t)\right] = -e^{\alpha t}x(t) \label{difeq2}
\end{equation}

\end{frame}

\begin{frame}
Notice that the left side of (\ref{difeq2}) can be rewritten as a derivative with respect to time.

\begin{equation}
\frac{\mathrm{d}}{\mathrm{d}t} \left[ e^{\alpha t} y(t) \right] = -e^{\alpha t}x(t) \label{difeq3}
\end{equation}

\vspace{.5cm}
Slightly abusing the notation, we'll swing the $\mathrm{d}t$ in (\ref{difeq3}) to the right side.
\begin{equation}
\mathrm{d}\left[ e^{\alpha t} y(t) \right] = -e^{\alpha t}x(t) \mathrm{d}t \label{difeq4}
\end{equation}

\end{frame}

\begin{frame}
Integrating both sides of (\ref{difeq4})
\begin{equation}
\int \mathrm{d}\left[ e^{\alpha t} y(t) \right] =  \int -e^{\alpha t}x(t) \mathrm{d}t \label{difeq5}
\end{equation}

\vspace{.5cm}
Which yields
\begin{equation}
e^{\alpha t} y(t) =  - \int e^{\alpha t}x(t) \mathrm{d}t + C \label{difeq6}
\end{equation}
Where $C$ is the constant term.  

\end{frame}

\begin{frame}
Thus,
$$y(t) =  e^{-\alpha t} \left[ - \int e^{\alpha t}x(t) \mathrm{d}t + C \right]$$

\vspace{.5cm}
Most of the differential equations you'll see will solve to a much nicer form, but this is just a simple example.

\end{frame}

\begin{frame}
\frametitle{Separation of Variables}
In the Solow Model, the growth rate of labor is fixed at $n$.  This differential equation can be solved using \textit{separation of variables}.
$$\frac{\dot{L}(t)}{L(t)} = n$$

\vspace{.5cm}
Rewriting this will give us a form we can handle.

\begin{equation}
\frac{\mathrm{d}}{\mathrm{d}t}L(t) = L(t)n \label{labor1}
\end{equation}

\end{frame}

\begin{frame}
Abusing the notation in (\ref{labor1}) again and rearranging some things,
\begin{equation}
\frac{\mathrm{d}L(t)}{L(t)} = n\mathrm{d}t \label{labor2}
\end{equation}

\vspace{.5cm}
Integrating both sides of (\ref{labor2}) gives us
\begin{equation}
\ln{L(t)} = nt + c \nonumber
\end{equation}

\vspace{.5cm}
Thus,
\begin{equation}
L(t) = e^{nt + c} \label{labor3}
\end{equation}

\end{frame}

\begin{frame}
We can now solve for the constant term in (\ref{labor3}).
\begin{equation}
L(t) = Ce^{nt} \label{labor4} \\
\;\;\; \mathrm{where} \; C = e^c
\end{equation}

\end{frame}

\end{document}
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: 10308
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.
This error is shown if you use \\ at a bad place. Here it's in this equation:

Code: Select all

\begin{equation}
L(t) = Ce^{nt} \label{labor4} \\
\;\;\; \mathrm{where} \; C = e^c
\end{equation}
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