emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [beamer] When are :BEAMER_envargs: used or ignored?
Date: Mon, 27 Feb 2012 15:07:45 +0800	[thread overview]
Message-ID: <87ehtgoita.wl%jamshark70@dewdrop-world.net> (raw)

According to the online documentation [1], it seems that :BEAMER_envargs: should apply to all Beamer environments:

~~~
BEAMER_envargs
    The beamer-special arguments that should be used for the environment, like [t] or [<+->] of <2-3>. If the BEAMER_col property is also set, something like C[t] can be added here as well to set an options argument for the implied columns environment. c[t] or c<2-> will set an options for the implied column environment. 
~~~

This does work in the example presentation at [1], but it seems only for B_block entries. I was trying to use B_beamercolorbox, where presumably the color selections (fg=, bg=) should be environment arguments, but this is ignored. What's more, if I take the colors out of the color box's envargs and replace it with another argument syntax -- <2-> -- that definitely works with B_block, this is also ignored. So it seems, if you wanted to have a colorbox appear in a later overlay, you would be screwed (would have to write the LaTeX by hand).

A bit confused.

Or, the simple question -- how do you set the colors of a color box in Beamer export?

Oh, wait, I just figured it out... though you would have to admit, this is not remotely obvious.

** Frame 2 \\ where we will not use columns
#+LaTeX: \setbeamercolor{ybg}{bg=yellow}
*** ybg 						   :B_beamercolorbox:
    Please test this stuff!
    :PROPERTIES:
    :BEAMER_env: beamercolorbox
    :END:

It kind of strikes me like an epic hack: you have to name the headline after the Beamer color ID, instead of naming the headline after the content... not very /org/anized. 

Worth a bug report or feature request?

hjh


[1] http://orgmode.org/manual/Beamer-class-export.html


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

             reply	other threads:[~2012-02-27  7:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27  7:07 James Harkins [this message]
2012-04-25  4:41 ` [beamer] When are :BEAMER_envargs: used or ignored? Eric Fraga
2012-04-25 10:09   ` James Harkins
2012-04-25 12:49     ` James Harkins
2012-04-26  8:14       ` Eric Fraga
2012-04-26  9:51         ` James Harkins
2012-04-26 11:15           ` Sebastien Vauban
2012-04-25 13:15     ` Eric Fraga

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=87ehtgoita.wl%jamshark70@dewdrop-world.net \
    --to=jamshark70@gmail.com \
    --cc=emacs-orgmode@gnu.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).