emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-beamer feaure request : single frame background


From: Sander Boer
Subject: Re: [O] org-beamer feaure request : single frame background
Date: Thu, 26 May 2011 12:08:48 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

suvayu ali <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]