<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
OK, I just read the endfloat package file and it indicates:<br>
<br>
When floats are being read, LATEX is in verbatim mode. Among other
things, this<br>
means that the lines like<br>
\end{figure}<br>
must appear on lines by themselves without any whitespace before or
after them.<br>
A complete reimplementation of the most difficult part of the package
is required<br>
to fix this limitation, but it is among the distant goals I have.<br>
<br>
So I guess this is all "normal" behavior.<br>
<br>
-Brian<br>
<br>
Brian Papa wrote the following on 7/30/2007 1:14 PM:
<blockquote cite="mid46AE1C78.90902@ametsoc.org" type="cite">
<pre wrap="">I am using the article class, modified with my own style file. I've
traced the problem to the following line in my style file:
\usepackage[nomarkers]{endfloat}%
It appears that if I do not use the endfloat package then I do not get
any errors. When I do include use of the endfloat package (regardless of
whether the nomarkers option is specified) and I have spaces before the
\end{figure} command I get the errors.
-Brian
Lars Madsen wrote the following on 7/30/2007 12:53 PM:
</pre>
<blockquote type="cite">
<pre wrap="">Brian Papa :
</pre>
<blockquote type="cite">
<pre wrap="">I'm getting errors if I have any whitespace before the \end{figure}
command in my captions. I'm wondering if this is normal behavior and
there should never be whitespace before a command like this, or if it is
an indication of some other problem?
The following works ok:
\begin{figure}
\noindent\includegraphics[width=40pc,angle=0]{./figures/figure01.eps}
\caption{Enter the caption for your figure here. Repeat as
necessary for each of your figures. Create a figures directory and
place all figures in that directory.}\label{f1}
\end{figure}
but space added before the "\end{figure} command result in errors:
\begin{figure}
\noindent\includegraphics[width=40pc,angle=0]{./figures/figure01.eps}
\caption{Enter the caption for your figure here. Repeat as
necessary for each of your figures. Create a figures directory and
place all figures in that directory.}\label{f1}
\end{figure}
The errors given are a bit unclear to me:
! Fle ended while scanning use of \next
<inserted text>
\par
!Emergency stop
In the second case, any reference to figure 1 just appears as question
marks.
Any insight you can provide would be helpful; hopefully I'm not missing
something too obvious.
</pre>
</blockquote>
<pre wrap="">could you please provide a minimal example, this is not normal, so we
need to know which class you are using, etc.
/daleif
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Brian Papa
Technical Editor
American Meteorological Society
45 Beacon Street
Boston, MA 02108-3693 USA
phone: 617.227.2426 ext 279
fax: 617.973.0468
e-mail: <a class="moz-txt-link-abbreviated" href="mailto:bpapa@ametsoc.org">bpapa@ametsoc.org</a></pre>
</body>
</html>