emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Figure not exporting properly in Beamer


From: Angel de Vicente
Subject: Re: [O] Figure not exporting properly in Beamer
Date: Thu, 16 May 2013 11:42:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Hi,

"Sebastien Vauban" <address@hidden>
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 via email to

[Prev in Thread] Current Thread [Next in Thread]