From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: The \only<> overlay in beamer Date: Wed, 29 Sep 2010 18:12:00 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48751 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0zGI-000742-UE for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:12:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0zGH-0004Q9-Az for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:12:06 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:34726) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0zGH-0004Pt-6g for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:12:05 -0400 Received: by ewy19 with SMTP id 19so382246ewy.0 for ; Wed, 29 Sep 2010 09:12:04 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rafael Calsaverini Cc: emacs-orgmode@gnu.org On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote: > Hi there. > > I'm trying to use the \only<> command to produce a beamer > presentation but it seems that org-beamer filters out this. I've > tried it in many different ways, and didn't get the desired effect. > > Particularly, I've tried the obviously wrong thing: > #+STARTUP: beamer > #+LaTeX_CLASS: beamer > #+LaTeX_CLASS_OPTIONS: [smaller, presentation] > > * Foo > ** Slide 1 > \only<1> { > *** Block1 :B_block: > :PROPERTIES: > :BEAMER_env: block > :END: > - bla11 > - bla12 > - bla13 > } > \only<2>{ > *** Block2 :B_block: > :PROPERTIES: > :BEAMER_env: block > :END: > - bla21 > - bla22 > - bla23 > } > > Which obviously break-up. And I also tried what I believe would be a > nice syntax for this: > > * Foo > ** Slide 1 > *** Block1 :B_block: > :PROPERTIES: > :BEAMER_envargs: \only<1> > :BEAMER_env: block > :END: > - bla11 > - bla12 > - bla13 > > *** Block2 :B_block: > :PROPERTIES: > :BEAMER_envargs: \only<2> > :BEAMER_env: block > :END: > - bla21 > - bla22 > - bla23 > > Apparently the parser just removes the "\only" and interprets this > as <1> and <2>. The resulting latex is exactly the same as if the > "\only" wasn't there. > > Is there a way to use the "\only<>" overlay in a clean way? What does \only do? - Carsten