emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Fabrice Popineau <fabrice.popineau@supelec.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Labels in beamer new exporter
Date: Tue, 04 Sep 2012 09:51:56 +0200	[thread overview]
Message-ID: <87a9x6b4yr.fsf@gmail.com> (raw)
In-Reply-To: <CAFgFV9Oj7z7HE059om--j+rEumAwMrZVsqOXuzHVzGV5UL6uYw@mail.gmail.com> (Fabrice Popineau's message of "Tue, 4 Sep 2012 09:16:58 +0200")

Fabrice Popineau <fabrice.popineau@supelec.fr> writes:

> Well, thanks for this It solves an easy case that has already asked for in
> the past.
> Now I can do :
> * section
> ** My frame title                     :B_frame:
> :BEAMER_opt: label=tcs
> :BEAMER_env: frame
> :END:
> Some text. Some text.  Some text. Some text.
> Some text. Some text.  Some text. Some text.
> * section                                     :B_ignoreheading:
> #+BEAMER: \againframe<2>{tcs}
> ** Following frame
> etc.
> Not as clean as we might want it, but it is working ok. I had to add an
> "invisible" section
> else the againframe is not exported between frames, but inside the
> preceding frame.

Interesting. What about providing an "againframe" environment (on par
with "appendix", "note", etc.)?

It would use "BEAMER_act" property to set the overlay specification, and
a "BEAMER_ref" property using link syntax to refer to a particular
section. Here's an example:

--8<---------------cut here---------------start------------->8---
* section
** My frame title                     :B_frame:
:BEAMER_env: frame

Some text. Some text.  Some text. Some text.
Some text. Some text.  Some text. Some text.

** section                                         :B_againframe:
  :BEAMER_env: againframe
  :BEAMER_act: 2
  :BEAMER_ref: *My frame title

  This section will create "\againframe<2>{sec-1-2}".

** Following frame
--8<---------------cut here---------------end--------------->8---

This is not really cleaner than your workaround, but at least, it feels
more integrated. Another advantage is that you don't need to know the
label of the frame being resumed.

For convenience, when asking for an "againframe",
`org-e-beamer-select-environment' would always ask for "act" and "ref"
properties, since those are mandatory anyway.

I don't mind implementing this, but I'm not sure it's worth the
(although limited) hassle.

Nicolas Goaziou

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

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 13:33 Labels in beamer new exporter Fabrice Popineau
2012-09-04  6:40 ` Nicolas Goaziou
2012-09-04  7:16   ` Fabrice Popineau
2012-09-04  7:51     ` Nicolas Goaziou [this message]
2012-09-04  8:08       ` Fabrice Popineau
2012-09-04  9:20         ` Nicolas Goaziou
2012-09-04 12:06           ` Fabrice Popineau

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:

  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=87a9x6b4yr.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@supelec.fr \


* 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


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