all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: William Henney <whenney@gmail.com>
To: Jean Louis <guix@rcdrun.com>
Cc: emacs-org <emacs-orgmode@gnu.org>,
	John Kitchin <jkitchin@andrew.cmu.edu>
Subject: Re: Failure to display more than 18 images with captions
Date: Sat, 1 Oct 2016 23:25:09 -0500	[thread overview]
Message-ID: <CAKchnZNCq2zcvbRZsq_hK0a6gFEN_gpWj5jMMTJmSChgg5jWAQ@mail.gmail.com> (raw)
In-Reply-To: <20161001181352.GB4030@protected.rcdrun.com>

[-- Attachment #1: Type: text/plain, Size: 2083 bytes --]

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 <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> 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

[-- Attachment #2: Type: text/html, Size: 3129 bytes --]

  reply	other threads:[~2016-10-02  4:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01  7:19 Failure to display more than 18 images with captions Jean Louis
2016-10-01 10:39 ` Nicolas Goaziou
2016-10-01 10:44   ` Jean Louis
2016-10-01 14:26 ` John Kitchin
2016-10-01 14:56   ` Jean Louis
2016-10-01 17:53     ` Nicolas Goaziou
2016-10-01 18:04       ` John Kitchin
2016-10-01 18:13       ` Jean Louis
2016-10-02  4:25         ` William Henney [this message]
2016-10-02  7:55           ` Nicolas Goaziou
2016-10-03  0:38           ` John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKchnZNCq2zcvbRZsq_hK0a6gFEN_gpWj5jMMTJmSChgg5jWAQ@mail.gmail.com \
    --to=whenney@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=guix@rcdrun.com \
    --cc=jkitchin@andrew.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.