From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: [RFC] Overlay specification for includegraphics Date: Sun, 27 Oct 2013 23:16:32 +0100 Message-ID: <20131027221632.GH16832@kuru.dyndns-at-home.com> References: <20131027132342.GE16832@kuru.dyndns-at-home.com> <68C65C50-9243-451E-A11A-386D10A59A1D@gmail.com> <20131027184409.GF16832@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaYda-0001CM-5c for emacs-orgmode@gnu.org; Sun, 27 Oct 2013 18:16:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaYdR-0000m1-Nn for emacs-orgmode@gnu.org; Sun, 27 Oct 2013 18:16:46 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:44898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaYdR-0000lv-HJ for emacs-orgmode@gnu.org; Sun, 27 Oct 2013 18:16:37 -0400 Received: by mail-wi0-f172.google.com with SMTP id ez12so3070190wid.17 for ; Sun, 27 Oct 2013 15:16:36 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20131027184409.GF16832@kuru.dyndns-at-home.com> 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: Carsten Dominik Cc: Emacs Org mode 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 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.