emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Emacs Org mode <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: [RFC] Overlay specification for includegraphics
Date: Mon, 28 Oct 2013 09:20:49 +0100	[thread overview]
Message-ID: <87bo29byce.fsf@gmail.com> (raw)
In-Reply-To: <20131027221632.GH16832@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Sun, 27 Oct 2013 23:16:32 +0100")

Hello,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> 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.

Beamer back-end delegates external link handling to the LaTeX back-end
(see l. 723 in "ox-beamer.el"). The latter ignores everything about
Beamer and its attributes.

In most cases, you can specify an overlay attribute to a link using
export snippets (see "Beamer specific syntax" in section 12.5 of the
manual). But it requires adding contents to the link, which is
impossible for image links, as the must have no contents.

Therefore, in this case, Someone needs to copy image handling in
"ox-beamer.el" and add "ATTR_BEAMER" support there.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-10-28  8:20 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
2013-10-28  8:20       ` Nicolas Goaziou [this message]

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=87bo29byce.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    /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).