emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Avdi Grimm <groups@inbox.avdi.org>
Cc: emacs-orgmode Org-Mode <emacs-orgmode@gnu.org>
Subject: Re: Beamer onlyenv
Date: Tue, 04 Sep 2012 09:35:02 +0200	[thread overview]
Message-ID: <87bohmb5qx.fsf@gmail.com> (raw)
In-Reply-To: <CA+XG7-im7gWY9n6vF949WqeuaQveu4Q-VSe0+H=+nhgft7WCnw@mail.gmail.com> (Avdi Grimm's message of "Sun, 26 Aug 2012 14:45:12 -0400")

Hello,

Avdi Grimm <groups@inbox.avdi.org> writes:

> I have a lot of slides where I want to incrementally show arbitrary
> information or code that is *not* part of a bullet list. I've been doing it
> like this:
>
> #+BEAMER: \begin{onlyenv}<2->
> ...some content...
> #+BEAMER: \end{onlyenv}
>
> I haven't been able to find any comprehensive org-beamer docs, and I've
> been wondering: is there a nicer way to do this using org's beamer
> support?

Using new back-end (and probably the old one, /mutatis mutandis/), you
can use something like:

  (add-to-list 'org-e-beamer-environments-extra
               '("onlyenv" "O" "\\begin{onlyenv}%a" "\\end{onlyenv}"))

You can then add an headline above your information and set its
properties "BEAMER_env" and "BEAMER_act" to, respectively, "onlyenv" and
"2-". You can set easily the first one with C-c C-b when
`org-e-beamer-mode' is active.


I am thinking about providing this feature with "ignoreheading"
environments. I.e.,

--8<---------------cut here---------------start------------->8---
* Text                                           B_ignoreheading:
  :PROPERTIES:
  :BEAMER_env: ignoreheading
  :BEAMER_act: 2-
  :END:

  contents
--8<---------------cut here---------------end--------------->8---

would provide

\begin<2->{onlyenv}
contents
\end{onlyenv}

Though, I'm not sure about which environment to use in this case:
"onlyenv", "visibleenv", another one. Any comment about this?


Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2012-09-04  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-26 18:45 Beamer onlyenv Avdi Grimm
2012-08-30  5:32 ` Bastien
2012-09-04  7:35 ` Nicolas Goaziou [this message]
2012-09-07 20:39   ` Avdi Grimm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bohmb5qx.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=groups@inbox.avdi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).