emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer onlyenv
@ 2012-08-26 18:45 Avdi Grimm
  2012-08-30  5:32 ` Bastien
  2012-09-04  7:35 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Avdi Grimm @ 2012-08-26 18:45 UTC (permalink / raw)
  To: emacs-orgmode Org-Mode

[-- Attachment #1: Type: text/plain, Size: 547 bytes --]

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?

I know about the shorthand syntax for bullet lists:

** <1-> Point 1
** <2-> Point 2
** <3-> etc...

But again, this is for content outside of lists.

Thanks,

--
Avdi

[-- Attachment #2: Type: text/html, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Beamer onlyenv
  2012-08-26 18:45 Beamer onlyenv Avdi Grimm
@ 2012-08-30  5:32 ` Bastien
  2012-09-04  7:35 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2012-08-30  5:32 UTC (permalink / raw)
  To: Avdi Grimm; +Cc: emacs-orgmode Org-Mode

Hi Avdi,

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?

Not to my knowledge, but I didn't test the new org-e-beamer exporter
for this feature.  Did you?  

I'm unsure your use-case is very common, if it it, hopefully someone 
can implement this in the next exporter.

Best,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Beamer onlyenv
  2012-08-26 18:45 Beamer onlyenv Avdi Grimm
  2012-08-30  5:32 ` Bastien
@ 2012-09-04  7:35 ` Nicolas Goaziou
  2012-09-07 20:39   ` Avdi Grimm
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2012-09-04  7:35 UTC (permalink / raw)
  To: Avdi Grimm; +Cc: emacs-orgmode Org-Mode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Beamer onlyenv
  2012-09-04  7:35 ` Nicolas Goaziou
@ 2012-09-07 20:39   ` Avdi Grimm
  0 siblings, 0 replies; 4+ messages in thread
From: Avdi Grimm @ 2012-09-07 20:39 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode Org-Mode

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

On Tue, Sep 4, 2012 at 3:35 AM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

> 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.
>

That's awesome, I will try this.



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

Sounds interesting but I'm not totally clear on what "ignoreheading"
environments are for.

Thanks!

[-- Attachment #2: Type: text/html, Size: 1374 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-07 20:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-26 18:45 Beamer onlyenv Avdi Grimm
2012-08-30  5:32 ` Bastien
2012-09-04  7:35 ` Nicolas Goaziou
2012-09-07 20:39   ` Avdi Grimm

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).