From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Insert #+BEAMER_HEADER_EXTRA before \begin{document}? Date: Thu, 8 May 2014 16:49:51 +0200 Message-ID: <20140508144951.GA20211@chitra.no-ip.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiPdz-00021D-PK for emacs-orgmode@gnu.org; Thu, 08 May 2014 10:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiPdy-0008TU-T2 for emacs-orgmode@gnu.org; Thu, 08 May 2014 10:49:55 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:42583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiPdy-0008T0-NF for emacs-orgmode@gnu.org; Thu, 08 May 2014 10:49:54 -0400 Received: by mail-ee0-f50.google.com with SMTP id e51so1846297eek.9 for ; Thu, 08 May 2014 07:49:53 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by mx.google.com with ESMTPSA id o5sm4759556eeg.8.2014.05.08.07.49.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 May 2014 07:49:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <86a9asie5u.fsf@somewhere.org> 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 On Thu, May 08, 2014 at 03:38:21PM +0200, Sebastien Vauban wrote: > Suvayu Ali wrote: > > On Wed, May 07, 2014 at 07:26:26PM -0400, Nick Dokos wrote: > > > I think I looked into this sometime back and I don't think there was a > > nice resolution (as evidenced by Seb's links). That said, I vaguely > > recall a discussion on this 1 and half to 2 years back (that would be > > the old exporter of course). I think supporting this as a feature was > > bypassed since this is very much LaTeX specific. > > While I think that LaTeX should be treated as a first-class backend (and > not just 1 out of 10 or so), I'm not asking for something new to be > added: just that #+BEAMER_HEADER is inserted before > the \begin{document} -- hence *after* things like \title, \author, \date, > and \usetheme. > > Right now, in an Org Beamer document, we can add specific code via > 3 different types of call (with example data): > > - #+LaTeX_HEADER: \institute[short name]{Full name} > - #+LaTeX_HEADER_EXTRA: \usepackage{lxfonts} > - #+BEAMER_HEADER: \setbeamercolor{structure}{fg=craneblue} > > If we simply allow the placeholder for #+BEAMER_HEADER to be somewhere > else (right before \begin{document}) than where it currently is, it will > allow one to: > > - add a short title of the document for the footer > - add a short author name for the footer (see AnnArbor) > - add a short date version (for example, "May 2014" instead of the full > "8 May 2014") > - customize some colors of the Beamer themes > - and many other things... > > The above things are currently (almost, for some) impossible. Changing > where the #+BEAMER_HEADER placeholder gets inserted makes them possible > and easy. You have good arguments. Maybe it should be reconsidered. -- Suvayu Open source is the future. It sets us free.