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:21:47 +0200 Message-ID: <3BCAAB2F-2777-44E3-AC75-9516D689863D@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=43840 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0zQh-0004CU-SA for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0zPk-00064s-GQ for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:21:54 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:49960) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0zPk-00064U-9C for emacs-orgmode@gnu.org; Wed, 29 Sep 2010 12:21:52 -0400 Received: by ewy19 with SMTP id 19so391265ewy.0 for ; Wed, 29 Sep 2010 09:21:51 -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 =20 > presentation but it seems that org-beamer filters out this. I've =20 > 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 =20= > nice syntax for this: Would it work to do #+BEAMER: \only<1> { ....... #+BEAMER: } ??? > > * 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 =20 > as <1> and <2>. The resulting latex is exactly the same as if the =20 > "\only" wasn't there. > > Is there a way to use the "\only<>" overlay in a clean way? > > Thank you very much. > > --- > Rafael Calsaverini > Dep. de F=EDsica Geral, Sala 336 > Instituto de F=EDsica - Universidade de S=E3o Paulo > > rafael.calsaverini@gmail.com > http://stoa.usp.br/calsaverini/weblog > CEL: (11) 7525-6222 > USP: (11) 3091-6803 > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode