From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sander Boer Subject: Re: org-beamer feaure request : single frame background Date: Thu, 26 May 2011 12:08:48 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:59592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPXUR-000255-A1 for emacs-orgmode@gnu.org; Thu, 26 May 2011 06:08:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPXUQ-0001X6-E6 for emacs-orgmode@gnu.org; Thu, 26 May 2011 06:08:27 -0400 Received: from lo.gmane.org ([80.91.229.12]:59400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPXUQ-0001X0-8Q for emacs-orgmode@gnu.org; Thu, 26 May 2011 06:08:26 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QPXUO-0006mj-SK for emacs-orgmode@gnu.org; Thu, 26 May 2011 12:08:24 +0200 Received: from archx.demon.nl ([83.160.190.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2011 12:08:24 +0200 Received: from sanderboer by archx.demon.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 May 2011 12:08:24 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org suvayu ali 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.