emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Angel de Vicente <angelv@iac.es>
To: emacs-orgmode@gnu.org
Subject: Re: Figure not exporting properly in Beamer
Date: Thu, 16 May 2013 11:42:55 +0100	[thread overview]
Message-ID: <yegppwryzm8.fsf@carro.ll.iac.es> (raw)
In-Reply-To: 86sj1nwg04.fsf@somewhere.org

Hi,

"Sebastien Vauban" <sva-news@mygooglest.com>
writes:

> Angel de Vicente wrote:
>> I'm using Org 7.8.03 and I have a test file to create a Beamer
>> presentation. At some point I have:
>>
>> ** Images
>>
>> #+CAPTION: Sample AMR
>> #+label:   fig:amr-sample
>> [[file:amr.png]]
>
> Dunno if it will fix all of your problem, but you should use
>
>   #+name: fig:amr-sample

Well I use #+label and I see no problem, but that didn't solve the
issue. Looking in the org code, if I comment the line checking for the
inline-images plist, then all is in order, and it gets exported as a figure.

       (cond ((and imgp)
;		   (plist-get org-export-latex-options-plist :inline-images))
	      ;; OK, we need to inline an image
	      (insert
	       (org-export-latex-format-image raw-path caption label attr shortn)))

The funny thing is that I don't think I ever changed the
org-export-latex-options-plist, at least not intentionally, as I
wouldn't now how to do it from inside the .org file.... and previously I
got the figure properly exported.

In any case, can anybody tell me how I set the inline-images property in
the .org file, so I can uncomment that line in org-latex.el

Thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/

      reply	other threads:[~2013-05-16 10:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15  8:24 Figure not exporting properly in Beamer Angel de Vicente
2013-05-16  7:17 ` Sebastien Vauban
2013-05-16 10:42   ` Angel de Vicente [this message]

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=yegppwryzm8.fsf@carro.ll.iac.es \
    --to=angelv@iac.es \
    --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).