emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jean Louis <guix@rcdrun.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: emacs-orgmode@gnu.org, Jean Louis <guix@rcdrun.com>
Subject: Re: Failure to display more than 18 images with captions
Date: Sat, 1 Oct 2016 17:56:24 +0300	[thread overview]
Message-ID: <20161001145624.GJ16109@protected.rcdrun.com> (raw)
In-Reply-To: <m260pcgn7b.fsf@Johns-MacBook-Air.local>

Thank you. It is possible to increase the number of floats in LaTeX, but
I could not succeed.

I found out that problem is also in compilation of the table of
contents, so when I turned toc off, I could see pictures.

Further, I am now using non-floats with:

#+ATTR_LATEX: :float nil

and I can get now the file to work fully as I am expecting, including
pictures are on the place where I wanted them to be.

It is solved for me, not solved in general as a problem in Org mode.

Jean

On Sat, Oct 01, 2016 at 10:26:16AM -0400, John Kitchin wrote:
> this looks like an issue related to floats. It works with out the
> caption because they are not floats in that case. But, with floats,
> there are limits.
> 
> see
> http://tex.stackexchange.com/questions/46512/too-many-unprocessed-floats.
> 
> According to that page:
> 
> LaTeX can, by default, only cope with 18 outstanding floats; any more,
> and you get the error “too many unsuppressed floats”. This package
> releases the limit; TeX itself imposes limits (which are interdependent
> of the help offered by e-TeX). However, if your floats can’t be placed
> anywhere, extending the number of floats merely delays the arrival of
> the inevitable error message.
> 
> You may be able to add \clearpage every few figures or use a package
> that makes this work.
> 
> Jean Louis writes:
> 
> > Hello,
> >
> > I have problem with Org Mode, that it fails to display more than 18
> > images correctly, while exporting to PDF (LaTeX export).
> >
> > I am using images in following manner:
> >
> > #+CAPTION: Title of image
> > #+NAME: fig:pic001
> > [[/some/image001.jpg]]
> >
> > #+CAPTION: Title of image
> > #+NAME: fig:pic002
> > [[/some/image002.jpg]]
> >
> > #+CAPTION: Title of image
> > #+NAME: fig:pic003
> > [[/some/image003.jpg]]
> >
> > .... and so on until 40-50 images ...
> >
> > #+CAPTION: Title of image
> > #+NAME: fig:pic060
> > [[/some/image060.jpg]]
> >
> > If I only put links without CAPTION and NAME, the export is working
> > well, but images are not nicely formatted. If I am using CAPTION without
> > NAME, I get the same problem, so only 18 images are displayed.
> >
> > I have tried to display random images, to verify is it about the link or
> > what would be the cause, but always 18 images are displayed.
> >
> > Few images are displayed on the side of the PDF, cut, not visible,
> > covering the right side border of the PDF file.
> >
> > I would really need help to get it working, as I use Org Mode for
> > reporting.
> >
> > Thank you,
> > J. Louis
> 
> 
> -- 
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
> 

  reply	other threads:[~2016-10-01 15:04 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 [this message]
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
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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20161001145624.GJ16109@protected.rcdrun.com \
    --to=guix@rcdrun.com \
    --cc=emacs-orgmode@gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).