emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: Re: [RFC] Overlay specification for includegraphics
Date: Sun, 27 Oct 2013 23:16:32 +0100	[thread overview]
Message-ID: <20131027221632.GH16832@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <20131027184409.GF16832@kuru.dyndns-at-home.com>

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+linux@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.

  reply	other threads:[~2013-10-27 22:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-27 13:23 [RFC] Overlay specification for includegraphics Suvayu Ali
2013-10-27 14:09 ` Carsten Dominik
2013-10-27 18:44   ` Suvayu Ali
2013-10-27 22:16     ` Suvayu Ali [this message]
2013-10-28  8:20       ` Nicolas Goaziou

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=20131027221632.GH16832@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --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).