From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Insert #+BEAMER_HEADER_EXTRA before \begin{document}? Date: Thu, 08 May 2014 20:55:19 +0100 Message-ID: <87fvkk9haw.fsf@med.uni-goettingen.de> 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> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiUPx-0006Al-Jp for emacs-orgmode@gnu.org; Thu, 08 May 2014 15:55:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiUPo-0006PA-3w for emacs-orgmode@gnu.org; Thu, 08 May 2014 15:55:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:39482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiUPn-0006Mc-9d for emacs-orgmode@gnu.org; Thu, 08 May 2014 15:55:35 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WiUPl-0005Za-Mn for emacs-orgmode@gnu.org; Thu, 08 May 2014 21:55:33 +0200 Received: from cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net ([81.102.136.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 21:55:33 +0200 Received: from andreas.leha by cpc33-cmbg15-2-0-cust4.5-4.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 May 2014 21:55:33 +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: emacs-orgmode@gnu.org Eric S Fraga writes: > On Thursday, 8 May 2014 at 15:38, Sebastien Vauban wrote: > > [...] > >> The above things are currently (almost, for some) impossible. Changing >> where the #+BEAMER_HEADER placeholder gets inserted makes them possible >> and easy. > > but unfortunately would make other things more difficult. For instance, > I often redefine the date command (and sometimes title and author) to do > something different. If the header entries were placed after the use of > theses, things would break for me. > Couldn't you use #+LATEX_HEADER for that sort of thing, then? > I think the creation of an ...EXTRA directive would be better but I've > argued for this before and have lost that argument. I agree here. Why not make that more transparent and have #+LATEX_HEADER and #+LATEX_HEADER_END as well as #+BEAMER_HEADER and #+BEAMER_HEADER_END ? > > You can achieve what you want by redefining \title, I would > suggest. Not pretty but it works. (Isn't that true for your use case of redefining date, too?) And last but not least: I think the particular use case of adding a short title to a beamer presentation is common enough to deserve proper org mode support. Regards, Andreas