From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastien Vauban Subject: Re: [bug, beamer] Frame parameters taken from example code block Date: Wed, 18 Jun 2014 14:12:46 +0200 Message-ID: <8638f21kn5.fsf@somewhere.org> References: <867g4e1l60.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, > When having such a code block inside a frame, the frame "inherits" > from the property BEAMER_opt which, though, is only present in the > example code, not in the Beamer frame itself. Another example which is not compilable in LaTeX (because of that bug): --8<---------------cut here---------------start------------->8--- #+TITLE: Org Beamer examples #+LANGUAGE: en #+OPTIONS: H:2 num:nil ^:{} #+PROPERTY: eval no #+LATEX_HEADER: \lstdefinelanguage{org}{} * ECM ** ~beamercolorbox~ environment In your Org file, writing this: #+begin_src org ,#+LaTeX: \setbeamercolor{mycolor}{bg=green,fg=white} ,*** mycolor :B_beamercolorbox: :PROPERTIES: :BEAMER_env: beamercolorbox :BEAMER_opt: wd=6cm :END: Lorem ipsum... #+end_src displays a green post-it with a width of 6 cm. --8<---------------cut here---------------end--------------->8--- See http://screencast.com/t/PY4nFxcKHe. Best regards, Seb -- Sebastien Vauban