emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sander Boer <sanderboer@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-beamer feaure request : single frame background
Date: Thu, 26 May 2011 12:08:48 +0200	[thread overview]
Message-ID: <cuoy61trcy7.fsf@mauc.nl> (raw)
In-Reply-To: BANLkTink3Gz5r33vmF2SDOmzPZQ_qVb=4g@mail.gmail.com

suvayu ali <fatkasuvayu+linux@gmail.com> writes:


> You can try (untested):
>
> #+LATEX: { %}
>
> * This is a frame
>   The commented out closing brace is important. Otherwise the exporter
> gets confused.
>
> #+LATEX: }
>

This will not work as it is by definition inserted between \begin{frame}...\end{frame}
like thus:

\begin{frame}
.........
{
\end{frame}

\begin{frame}
.........
 }
\end{frame}

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 ?

sndr

-- 
Me thinks: 
You have an unusual equipment for success.  Be sure to use it properly.

  reply	other threads:[~2011-05-26 10:08 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 [this message]
2011-05-26 18:15     ` suvayu ali

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=cuoy61trcy7.fsf@mauc.nl \
    --to=sanderboer@yahoo.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).