From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rafael Calsaverini Subject: The \only<> overlay in beamer Date: Sat, 18 Sep 2010 15:15:00 -0300 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0041353588==" Return-path: Received: from [140.186.70.92] (port=57456 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ox1wa-0000Pq-9t for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 14:15:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ox1wY-0006Gs-6I for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 14:15:23 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:53697) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ox1wX-0006Gn-Tf for emacs-orgmode@gnu.org; Sat, 18 Sep 2010 14:15:22 -0400 Received: by fxm12 with SMTP id 12so110161fxm.0 for ; Sat, 18 Sep 2010 11:15:20 -0700 (PDT) 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: emacs-orgmode@gnu.org --===============0041353588== Content-Type: multipart/alternative; boundary=0016363b9e6e7d549304908ca946 --0016363b9e6e7d549304908ca946 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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? 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 --0016363b9e6e7d549304908ca946 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi there.=A0

I'm trying to use the \only<> com= mand 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.=A0

Particularly, I've tried the obviously wrong thing:=
#+STARTUP: =A0 =A0 =A0beamer
#+LaTeX_CLASS: beame= r
#+LaTeX_CLASS_OPTIONS: [smaller, presentation]

* Foo
** Slide 1=A0
\only<1> {
*** =A0Block1 = =A0=A0 =A0:B_block:
=A0=A0 =A0 :PROPERTIES:
=A0=A0 =A0 = :BEAMER_env: block
=A0=A0 =A0 :END:
=A0=A0 =A0 - bla11
=A0=A0 =A0 - b= la12
=A0=A0 =A0 - bla13
}
\only<2>{
*** =A0Block2 = =A0=A0 =A0:B_block:
=A0=A0 =A0 :PROPERTIES:
=A0=A0 =A0 :BEAMER_env: block
<= div>
=A0=A0 =A0 :END:
=A0=A0 =A0 - bla21
=A0=A0 =A0 - bla22
=A0=A0 =A0 - bla23
}

Which obviously break-up. And I also tried what I believe would be a nice s= yntax for this:

* Foo
** Slide 1=A0
*** =A0Block1 = =A0 =A0:B_block:
=A0=A0 =A0 :PROPERTIES:
=A0=A0 =A0 :BEAMER_envargs: \only<= ;1>
=A0=A0 =A0 :BEAMER_env: block
=A0=A0 =A0 :END:
=A0=A0 =A0 - bla11
=A0=A0 =A0 - bla12
=A0=A0 = =A0 - bla13

*** =A0Block2 =A0=A0 =A0:B_b= lock:
=A0=A0 =A0 :PROPERTIES:
=A0=A0 =A0 :BEAMER_envarg= s: \only<2>
=A0=A0 =A0 :BEAMER_env: block
=A0=A0 =A0 :END:
=A0=A0 =A0 - bla21
=A0=A0 = =A0 - bla22
=A0=A0 =A0 - 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<>" ove= rlay in a clean way?=A0

Thank you very much.
=

---
Rafael Calsaverini
Dep. de F=EDsica Geral, S= ala 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

--0016363b9e6e7d549304908ca946-- --===============0041353588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0041353588==--