From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: derived exporter EXPORT_... options Date: Tue, 26 Nov 2013 20:49:06 +0100 Message-ID: <87ob576j0t.fsf@gmail.com> References: <5294DE87.8070205@mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlOcw-0003P6-Q4 for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 14:49:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VlOcr-0006Ld-MP for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 14:48:54 -0500 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:53050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VlOcr-0006LY-FA for emacs-orgmode@gnu.org; Tue, 26 Nov 2013 14:48:49 -0500 Received: by mail-ea0-f172.google.com with SMTP id q10so3994389ead.3 for ; Tue, 26 Nov 2013 11:48:48 -0800 (PST) In-Reply-To: <5294DE87.8070205@mpip-mainz.mpg.de> (Robert Klein's message of "Tue, 26 Nov 2013 18:46:47 +0100") 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: Robert Klein Cc: Org Mode Hello, Robert Klein writes: > I'm trying to user EXPORT_... options in subtree export in a derived > exporter. > > Using attached ox-hans exporter and the org file hans.org, > I only get "Wurst" as :hans-option, never "Bratwurst", as given under > the heading "Two", using both options with subtree export (C-c C-e C-d j > h and C-c C-e C-d j H. > > Do I misunderstand subtree export? Keyword are global. Subtree export options are expected to be properties attached to the root headline: * Two :PROPERTIES: :EXPORT_HANS_OPTION: Bratwurst :END: Also, the property name will still be :hans-option (i.e. no "export-" appended). During a subtree export the property has precedence over the keyword. Regards, -- Nicolas Goaziou