# [XeTeX] too many unprocessesed floats

Jens Bakker jbakker at uni-bonn.de
Thu Feb 25 11:57:40 CET 2010

Hi Wilfred,

Thank you very much for your information, which is very usefull for
me. The purpose of using the newline command so often was, that I want
to  reproduce exactly the lines of a certain manuscript to facilitate
the process of comparing the text with that of the manuscript once
again while collating it with other versions. I also wanted to asign
linenumbers to see if there are difficulties in using them, and I
noticed that to begin a new paragraph with a skip between the new and
the previous paragraph means, that to the resulting empty line there
is a linenumber assigned.

To avoid this, i. e. to achieve that only lines with text and not
empty lines are counted by linenumbers, I did not introduce new
paragraphs which resulted in the respective problem that I could not
solve. Now I enclosed every text which corresponds to a page in the
mentioned manuscript in a \begin{linenumbers} end{linenumbers}
environment and let the pagenumbering begin with \resetpagenumber once
again in each instance.

With best wishes,
Jens Bakker

Am 25.02.2010 um 00:57 schrieb Wilfred van Rooijen:

> Hi Jens,
>
> A very good explanation about the nature of floats and how they are
> processed can be found in the manual of the memoir class. The file
> is called "memman.pdf" and should be somewhere in your latex
> installation.
>
> In short, a float is an empty area whose location is decided by
> latex after setting the surrounding text paragraphs. If latex cannot
> find a suitable place for a float, it will append it to a list of
> "unprocessed floats" which will ultimately all appear on separate
> pages at the end of the document. If you have more than a certain
> number of those unprocessed floats, latex will complain.
>
> Thus, the solution is to create more available spaces where floats
> can be put. In your case, apparently you have very long paragraphs
> and latex does not know where to reserve space for the notes. By
> making smaller paragraphs you allow more potential "float locations"
> and all should be well.
>
> As a rule, you should not use "\\" unless absolutely necessary.
> Latex sets the text per paragraph, and "\\" will start a new line
> but not a new paragraph (if I remember correctly) which means that
> you get very long paragraphs, which are difficult to typeset. Again,
> I think that the memoir manual has some details about the
> differences between an empty line, \par, and \\.
>
> Cheers,
> Wilfred
>
> --- On Wed, 24/2/10, Ulrike Fischer <news3 at nililand.de> wrote:
>
>> From: Ulrike Fischer <news3 at nililand.de>
>> Subject: Re: [XeTeX] too many unprocessesed floats
>> To: xetex at tug.org
>> Date: Wednesday, 24 February, 2010, 10:38 PM
>> Am Tue, 23 Feb 2010 23:20:17 +0100
>> schrieb Jens Bakker:
>>
>>
>>> At some point, when I wrote a new marginal note,
>>
>>> I got the following error:
>>>
>>> LateX Error: Too many unprocessed floats
>>>
>>> See LateX manual or LateX Companion for explanation.
>>>
>>>
>>> May anybody know if there could be a solution?
>>
>> Well LaTeX can store only a restricted number of floats.
>> \marginpar's are floats and you are using a lot of \\ which
>> means
>> that all \marginpars are in one paragraph and so you are
>> overflowing
>> the available ressources for floats.
>>
>> Solutions are:
>> 1.  Divide your text in more but smaller paragraphs,
>> that means use
>> less  \\ commands and more \par or empty lines.
>>
>> 2. Use the package marginnote and \marginnote instead of
>> \marginpar.
>>
>>
>> --
>> Ulrike Fischer
>>
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>>   http://tug.org/mailman/listinfo/xetex
>>
>
>
>      Get your preferred Email name!
> Now you can @ymail.com and @rocketmail.com.
> http://mail.promotions.yahoo.com/newdomains/aa/
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex