emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: Sander Boer <sanderboer@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-beamer feaure request : single frame background
Date: Thu, 26 May 2011 11:15:12 -0700	[thread overview]
Message-ID: <BANLkTinZJWuWr3WGdtONXwgQTTdEM-ATsA@mail.gmail.com> (raw)
In-Reply-To: <cuoy61trcy7.fsf@mauc.nl>

I see the limitation of my suggestion one now. I guess the only way is
option two then.

On Thu, May 26, 2011 at 3:08 AM, Sander Boer <sanderboer@yahoo.com> wrote:
> I think it it possible to write a function that prepends
> "{\myfunction..etc "  and appends "}" to the frame environment.
> For the time being a property like "BEAMER_BG: myfile.jpg" could be
> harvested and transformed into:
>
> {
> \setbeamertemplate{background canvas}{
>        \includegraphics[width=\paperwidth]{./myfile.jpg}
>
> \begin{frame}
> .........
> \end{frame}
>  }
>
> The latex code could be a bit more elaborate and the image placement
> attributes need some automagic, but as a proof of concept, this will do.
>
> I do think I need a little help with this though, as I have no clue
> about org's inner workings.
> But let's take it one step at a time, like how does one harvest the
> "BEAMER_BG: myfile.jpg" property ?
>

This page from the manual might help you.

http://orgmode.org/manual/Using-the-property-API.html#Using-the-property-API

A combination of getting the properties with the property API and
adding your own function in the post export hook might be the easiest
solution here.

> sndr
>

Good luck, and do post back to the list if you find a solution, I
would be interested.

-- 
Suvayu

Open source is the future. It sets us free.

      reply	other threads:[~2011-05-26 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-25 10:33 org-beamer feaure request : single frame background Sander Boer
2011-05-25 16:06 ` suvayu ali
2011-05-26 10:08   ` Sander Boer
2011-05-26 18:15     ` suvayu ali [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=BANLkTinZJWuWr3WGdtONXwgQTTdEM-ATsA@mail.gmail.com \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sanderboer@yahoo.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).