From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Henney Subject: Re: Failure to display more than 18 images with captions Date: Sat, 1 Oct 2016 23:25:09 -0500 Message-ID: References: <20161001071955.GA14380@protected.rcdrun.com> <20161001145624.GJ16109@protected.rcdrun.com> <87h98wvtu0.fsf@nicolasgoaziou.fr> <20161001181352.GB4030@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11409d3c81ef44053dda36a9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqYKv-0006F8-F3 for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 00:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bqYKt-0007WF-2F for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 00:25:12 -0400 Received: from mail-ua0-x236.google.com ([2607:f8b0:400c:c08::236]:34710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bqYKs-0007WB-TY for emacs-orgmode@gnu.org; Sun, 02 Oct 2016 00:25:11 -0400 Received: by mail-ua0-x236.google.com with SMTP id p25so4958382uaa.1 for ; Sat, 01 Oct 2016 21:25:10 -0700 (PDT) In-Reply-To: <20161001181352.GB4030@protected.rcdrun.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Jean Louis Cc: emacs-org , John Kitchin --001a11409d3c81ef44053dda36a9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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 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 > > --=20 Dr William Henney, Instituto de Radioastronom=C3=ADa y Astrof=C3=ADsica, Universidad Nacional Aut=C3=B3noma de M=C3=A9xico, Campus Morelia --001a11409d3c81ef44053dda36a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think Jean Louis is right: it _is_ an org issue. =C2=A0 = The problem is that the default value of=C2=A0org-latex-default-figure-posi= tion is "htb", which is a very bad idea.=C2=A0 The string always = needs to contain a "p" in it somewhere, otherwise latex will neve= r 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" (b= ottom) are all for placing floats on a page that has some "normal"= ; text on.=C2=A0 For all 3 cases, there is a minimum fraction of the page t= hat must be occupied by text (controlled by the parameter \textfraction, wh= ich by default is 0.2).=C2=A0 To get pages that are entirely occupied by fl= oats, you need to use the specifier "p" (page).=C2=A0 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.=C2=A0 Hence the= problem with "Too many unprocessed floats".=C2=A0 I would recomm= end that the default be "htbp" instead. =C2=A0

Will


On Sat, Oct 1, 2016 at 1:13 PM, Jean Louis <guix@rcdrun.com= > 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 <guix@rcdrun.com&= gt; writes:
>
> > It is solved for me, not solved in general as a problem in Org mo= de.
>
> I do not understand: which part is a problem on the Org side?
>
> Regards,
>
> --
> Nicolas Goaziou




--
=

=C2=A0 Dr William Henney, Instituto de Radioastronom=C3= =ADa y Astrof=C3=ADsica,
=C2=A0 Universidad Nacional Aut=C3=B3noma de M= =C3=A9xico, Campus Morelia
--001a11409d3c81ef44053dda36a9--