emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Torsten Anders <torsten.anders@beds.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] [Beamer export] Example should better export to exampleblock environment
Date: Sat, 28 Jan 2012 15:59:47 +0100	[thread overview]
Message-ID: <87fwezzxcs.fsf@gnu.org> (raw)
In-Reply-To: <5DA02851-DED2-4906-BAA2-A3AB0A5E61AF@beds.ac.uk> (Torsten Anders's message of "Sat, 28 Jan 2012 12:57:36 +0000")

Hi Thorsten,

Torsten Anders <torsten.anders@beds.ac.uk> writes:

> It is great that org mode makes creating Beamer slides so easy! I would
> like to include some green example blocks in my slides (e.g., for exercises
> for my students), and I can turn an org headline and its "content" into an
> example block by just pressing C-c C-b e -- very nice.
>
> Now, my problem is that Org mode exports this as a Beamer example
> environment, instead of an exampleblock environment. The difference is that
> the exampleblock environment is just a green block that otherwise behaves
> like the standard Beamer blocks (in particular, users have full control
> over its title), while an example environment always adds something to the
> title like this: Example (ACTUAL TITLE). Such behaviour may be useful in
> special cases, but the exampleblocks are more flexible and should therefore
> at least be supported as an alternative option, but likely being the
> default export option.
>
> Attached to this message there is a simple patch that adds support for
> exampleblocks (short cut C-c C-b E) by keeping everything else as it
> is.

Applied, thanks.

As for whether using `exampleblock' should be the default rather than
`example', people like Eric S Fraga (or other beamer gurus) would have 
a better advice than mine.  Eric?

Thanks!

-- 
 Bastien

      reply	other threads:[~2012-01-28 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-28 12:57 [PATCH] [Beamer export] Example should better export to exampleblock environment Torsten Anders
2012-01-28 14:59 ` Bastien [this message]

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=87fwezzxcs.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=torsten.anders@beds.ac.uk \
    /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).