From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Insert #+BEAMER_HEADER_EXTRA before \begin{document}? Date: Sun, 15 Jun 2014 22:10:19 +0200 Message-ID: <871tuqndck.fsf@nicolasgoaziou.fr> References: <86wqdxo1kc.fsf@somewhere.org> <20140507222456.GA2785@chitra.no-ip.org> <87wqdx5fx9.fsf@alphaville.bos.redhat.com> <20140508013829.GC2785@chitra.no-ip.org> <86a9asie5u.fsf@somewhere.org> <87eh04703g.fsf@ucl.ac.uk> <86ppj7ggh8.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwGkl-0007oc-9Z for emacs-orgmode@gnu.org; Sun, 15 Jun 2014 16:10:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwGkc-0007A2-IT for emacs-orgmode@gnu.org; Sun, 15 Jun 2014 16:10:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:35201) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwGkc-00077F-BI for emacs-orgmode@gnu.org; Sun, 15 Jun 2014 16:10:02 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WwGkZ-000425-4P for emacs-orgmode@gnu.org; Sun, 15 Jun 2014 22:09:59 +0200 In-Reply-To: <86ppj7ggh8.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 21 May 2014 19:59:47 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Hello, Sebastien Vauban writes: > But the whole point is that is DOES NOT even WORK for a couple of > things, such as modifying base colors of a theme: > > #+BEAMER_HEADER: \setbeamercolor{frametitle}{bg=blue} > > won't work because of the misplacement of the BEAMER_HEADER placeholder > regarding to the (color) theme: the above line will be placed before the > choice of the theme... TOO EARLY. > > On the contrary, adding it in the above title command (already in the > LaTeX document, that is) is TOO LATE. I do not see how to solve this without either adding a new keyword or extending `org-latex-classes' to support another location (e.g. "[BEAMER-THEME]"). Actually, both may be needed. About the keyword, my only concern is that #+LATEX_HEADER_EXTRA has already a specific meaning, which is different from the one we're going to implement. So, #+BEAMER_HEADER_EXTRA might be confusing. OTOH I cannot think of anything much better. WDYT? Regards, -- Nicolas Goaziou