<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Oct 7, 2009, at 1:13 AM, HELL BOY wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">Actually error looks like this<br><br><br>Runaway argument?{\contentsline {figure}{\numberlin !File ended while
scanning use of \@writefile. <inserted text> \par 1.18
\begin{document}<br><br></td></tr></tbody></table></blockquote></div><br><div>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.</div><div>On the first run through latex, this caption gets written to the .aux file.</div><div>On the second pass, the .aux file is read, and everything goes haywire.</div><div><br></div><div>Perhaps you could include a minimal example of your document that continues to show this behavior, something along the lines of:</div><div><br></div><div>\documentclass{minimal}</div><div><br></div><div>\begin{document}</div><div><br></div><div>... your content</div><div><br></div><div>\end{document}</div><div><br></div><div><br></div></body></html>