emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Dov Grobgeld <dov.grobgeld@gmail.com>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Table with images export to LaTeX
Date: Tue, 23 Jun 2015 17:30:31 +0300	[thread overview]
Message-ID: <CA++fsGGYtsvkb6weLg6ekfkoXuk4a8RXbowb=+p9HqT0ip=wQw@mail.gmail.com> (raw)
In-Reply-To: <87lhfaekft.fsf@ucl.ac.uk>

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

Some further probing showed that it worked by me as well! But with one
LaTex related restriction that I missed. The included filename must *not*
include more than one period! In my original file I had part of the
experiment conditions encoded in the name, e..g. lc-p0.5.jpg . This works
fine in HTML but fails in LaTeX.

Running pdflatex on the tex file yields:

! LaTeX Error: Unknown graphics extension: .5.jpg .

The problem has nothing to do with the org exporting, and is a LaTeX
limitation that I can live with. Case closed. :-)

​Regards,
Dov​


On Tue, Jun 23, 2015 at 2:24 PM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:

> On Tuesday, 23 Jun 2015 at 10:24, Dov Grobgeld wrote:
> > I tried to export a table with four images to LaTeX, but got a big mess
> as
> > a result. In contrast, the result in HTML export is fine. Has anyone had
> > better experience and can recommend some remedy?
>
> Works for me with recent org.  What version of org are you using?  What
> is a /big mess/ more precisely?  It could be useful to post the bit of
> LaTeX generated for the table.
>
> How big are the images? Maybe set org-latex-image-default-width, for
> instance?  I often have something like this in documents where I am
> going to change the default image size for LaTeX export frequently:
>
> #+begin_src org
>   # -*- org-export-allow-bind-keywords: t; -*-
>   ,#+bind: org-latex-image-default-width "2cm"
> #+end_src
>
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org
> release_8.3beta-1231-ga0a883
>

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

  reply	other threads:[~2015-06-23 14:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-23  7:24 Table with images export to LaTeX Dov Grobgeld
2015-06-23 11:24 ` Eric S Fraga
2015-06-23 14:30   ` Dov Grobgeld [this message]
2015-06-23 14:41     ` Rasmus
2015-06-23 15:17       ` Dov Grobgeld

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='CA++fsGGYtsvkb6weLg6ekfkoXuk4a8RXbowb=+p9HqT0ip=wQw@mail.gmail.com' \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).