[OS X TeX] What is this error i am not able to figure out

David Watson dewatson at me.com
Wed Oct 7 08:57:31 EDT 2009

On Oct 7, 2009, at 1:13 AM, HELL BOY wrote:

> Actually error looks like this
>
>
> Runaway argument?{\contentsline {figure}{\numberlin !File ended
> while scanning use of \@writefile. <inserted text> \par 1.18 \begin
> {document}
>

Without knowing the specifics of your document, I can only guess that
you have some sort of unescaped sequence in the caption to your figure.
On the first run through latex, this caption gets written to the .aux
file.
On the second pass, the .aux file is read, and everything goes haywire.

Perhaps you could include a minimal example of your document that
continues to show this behavior, something along the lines of:

\documentclass{minimal}

\begin{document}

\end{document}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20091007/1d1033ea/attachment.html>