On Sun, Oct 27, 2013 at 07:44:09PM +0100, Suvayu Ali wrote: > On Sun, Oct 27, 2013 at 03:09:38PM +0100, Carsten Dominik wrote: > > > > On 27.10.2013, at 14:23, Suvayu Ali <fatkasuvayu+li...@gmail.com> wrote: > > > > > Hi, > > > > > > While working on a presentation recently, I realised there was no easy > > > way to specify overlay specifications for images during beamer export. > > > Since this is already supported for lists, e.g. by adding > > > `#+attr_latex :overlay +-'. I was wondering if it is possible to add > > > this for images? > > > > > > Something like this would be amazing: > > > > > > #+attr_latex: :overlay 1 :width 0.9\textwidth > > > [[file:graphics/test.pdf]] > > > > > > is exported as, > > > > > > \includegraphics<1>[width=0.9\textwidth]{graphics/test.pdf} > > > > > > What do you think? > > > > > > PS: I noticed if I use #+attr_beamer: instead of #+attr_latex:, > > > the :options property is ignored, and :width is overwritten with > > > "0.9\linewidth". Is that intended > > > > I am not sure about this problem, but clearly, your request of the overlay > > property need to use attr_beamer, not attr_latex. > > > > I tried attr_latex because attr_beamer was overwriting everything. I > will investigate why attr_beamer is not working on a minimal instance > tomorrow.
I tested with a minimal setup. Same issue. The following: #+attr_beamer: :overlay 1 :width 0.8\linewidth [[file:bla.png]] exports as, \includegraphics[width=.9\linewidth]{bla.png} Something is off. Hope this helps, -- Suvayu Open source is the future. It sets us free.