From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angel de Vicente Subject: Re: Figure not exporting properly in Beamer Date: Thu, 16 May 2013 11:42:55 +0100 Message-ID: References: <86sj1nwg04.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcveS-0008Ms-66 for emacs-orgmode@gnu.org; Thu, 16 May 2013 06:43:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcveN-0007T9-8k for emacs-orgmode@gnu.org; Thu, 16 May 2013 06:43:12 -0400 Received: from plane.gmane.org ([80.91.229.3]:38938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcveN-0007T4-2L for emacs-orgmode@gnu.org; Thu, 16 May 2013 06:43:07 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UcveL-000661-UT for emacs-orgmode@gnu.org; Thu, 16 May 2013 12:43:05 +0200 Received: from carro.ll.iac.es ([161.72.206.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 May 2013 12:43:05 +0200 Received: from angelv by carro.ll.iac.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 May 2013 12:43:05 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, "Sebastien Vauban" 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/