From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Kroos Subject: subtree-export limitations Date: Fri, 16 Nov 2012 16:45:35 +0100 Message-ID: <87r4ntmu00.fsf@t-online.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZO7A-0001nw-D1 for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 10:45:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZO77-0005Rz-Al for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 10:45:56 -0500 Received: from mailout05.t-online.de ([194.25.134.82]:53307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZO77-0005Ri-3c for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 10:45:53 -0500 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 Hi, currently the support for subtree export is somewhat limited due to the fact that individual EXPORT_* options are allowed only once. I.e., in the following the second latex-header-property will be ignored: * Some subtree :PROPERTIES: :LATEX_CLASS: scrartcl :EXPORT_OPTIONS: toc:nil :EXPORT_LATEX_HEADER: \usepackage[ngerman]{babel} :EXPORT_LATEX_HEADER: \usepackage{xcolor} :END: So would be any other EXPORT_OPTIONS-line. The responsible function is org-export--get-subtree-options, which builds a list of already seen keywords. The lists members are then ignored if seen again. Is there any particular reason why this is done? Sorry if this is documented or discussed somewhere already, I couldn't find any reference that explains this behaviour. Best regards, Philipp