From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josiah Schwab Subject: Re: Modifying the Beamer Exporter Date: Sun, 30 Jun 2013 16:15:30 -0700 Message-ID: <87mwq7xka5.fsf@gmail.com> References: <87txkivygu.fsf@gmail.com> <87vc4ygfhy.fsf@ucl.ac.uk> <87zju9m3ir.fsf@pank.eu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQqc-0003me-8B for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 19:16:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtQqb-00025T-AC for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 19:15:58 -0400 Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:62919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtQqb-00025P-3Q for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 19:15:57 -0400 Received: by mail-pa0-f49.google.com with SMTP id ld11so4286085pab.36 for ; Sun, 30 Jun 2013 16:15:56 -0700 (PDT) In-reply-to: <87zju9m3ir.fsf@pank.eu> 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: Rasmus Cc: emacs-orgmode@gnu.org >>> I want to include my collaborators in the header of each org file just >>> as I would authors, that is by including a line like >>> >>> #+COLLABORATORS: Alice & Bob >>> >>> I've found some limited documentation on modifying the exporter (manual >>> section 12.3) and taken a look at ox.el, ox-latex.el, ox-beamer.el, etc. >>> >>> What I did was: >>> + Create a new backend derived from the beamer one >>> + add COLLABORATORS to its options-alist >>> + set the template (in translate-alist) to one handling collaborators >>> >>> This works, but before I continued on making other modifications (in a >>> similar vein), I wanted to check in with people with a higher level >>> understanding. > > In general if it's generally useful make a patch (if feasible). . . > > Could you point out exactly which function (with ref to the Beamer > manual) you're using? Searching for collaborator in the manual didn't > give me any hints. . . For my subtitle example, \subtitle{} is a beamer command so I can make a patch for that and see what people think. There is no beamer command for collaborators -- which is why you didn't find it in the manual. But I almost always have collaborators on my presentations, so I want to choose once how to render collaborators and then ever after only have to set the content. That could either mean adding a custom \collaborators{} command in my personal beamer theme and have the exporter set that appropriately or just having my local exporter do something like (format "\\author{%s \\\\{\\small with %s}}\n" author collaborators) when COLLABORATORS is set. >> Maybe, maybe not. Difficult to say unless you give us a better idea of >> what kind of changes you plan on making. > > To add to Eric's comment: Filters is a viable option and potentially > more sustainable if your code ain't submitted up stream. Ok, I will go read more about filters in the manual and come back to the list if I have questions. Thanks for your time! Best, Josiah