From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: new export question: how to add a new option to an existing backend Date: Thu, 21 Nov 2013 23:57:05 +0100 Message-ID: <87siup5poe.fsf@gmail.com> References: <87bo1dza41.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjdBA-0000k7-0K for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 17:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjdB1-0000Uu-IK for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 17:56:55 -0500 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:39442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjdB1-0000Uq-Be for emacs-orgmode@gnu.org; Thu, 21 Nov 2013 17:56:47 -0500 Received: by mail-ea0-f173.google.com with SMTP id g15so174100eak.18 for ; Thu, 21 Nov 2013 14:56:46 -0800 (PST) In-Reply-To: <87bo1dza41.fsf@gmail.com> (Eric Schulte's message of "Thu, 21 Nov 2013 15:02:54 -0700") 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: Eric Schulte Cc: Org Mode Mailing List Hello, Eric Schulte writes: > I'd like to add a new option to the LaTeX backend from a contrib/ > package so that it can be set with a #+ keyword. Is this possible? If > so how would one go about making this change. If not what's the best > way to add a new optional value to an existing backend (to be used by a > new link exporting function and/or the > org-export-before-parsing-hook). It really depends on what you need. I don't get your example. What would that option do? Anyway, you can use defadvice (see "ox-bibtex.el") to alter the behaviour of an existing back-end. Regards, -- Nicolas Goaziou