emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Failure to display more than 18 images with captions


From: William Henney
Subject: Re: [O] Failure to display more than 18 images with captions
Date: Sat, 1 Oct 2016 23:25:09 -0500

I think Jean Louis is right: it _is_ an org issue.   The problem is that the default value of org-latex-default-figure-position is "htb", which is a very bad idea.  The string always needs to contain a "p" in it somewhere, otherwise latex will never be able to find a solution for figure placement in cases with many floats and little or no text.

Fuller explanation: The position specifiers "h" (here), "t" (top), and "b" (bottom) are all for placing floats on a page that has some "normal" text on.  For all 3 cases, there is a minimum fraction of the page that must be occupied by text (controlled by the parameter \textfraction, which by default is 0.2).  To get pages that are entirely occupied by floats, you need to use the specifier "p" (page).  So, by just using "htb" you are giving latex a set of requirements that are impossible to satisfy if there are many floats and no text.  Hence the problem with "Too many unprocessed floats".  I would recommend that the default be "htbp" instead.  

Will


On Sat, Oct 1, 2016 at 1:13 PM, Jean Louis <address@hidden> wrote:
IMHO, the program Org Mode shall not give error when exporting PDF, or
it should be documented that certain number of pictures are not
tolerated and how to increase that number or how to avoid the problem.

Maybe something like explained here:
http://tex.stackexchange.com/questions/46512/too-many-unprocessed-floats

like "morefloats" package:
ctan.org/pkg/morefloats

or \extrafloats{100}

But I did not get that working, I have simply turned off floats.

Jean

On Sat, Oct 01, 2016 at 07:53:59PM +0200, Nicolas Goaziou wrote:
> Hello,
>
> Jean Louis <address@hidden> writes:
>
> > It is solved for me, not solved in general as a problem in Org mode.
>
> I do not understand: which part is a problem on the Org side?
>
> Regards,
>
> --
> Nicolas Goaziou




--

  Dr William Henney, Instituto de Radioastronomía y Astrofísica,
  Universidad Nacional Autónoma de México, Campus Morelia

reply via email to

[Prev in Thread] Current Thread [Next in Thread]