From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: add publish option :with-setupfile Date: Tue, 24 Nov 2015 23:09:51 +0100 Message-ID: <877fl79hhs.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Lku-0002rZ-7h for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 17:08:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Lkt-0004Gn-Et for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 17:08:08 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:57620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Lkt-0004GS-89 for emacs-orgmode@gnu.org; Tue, 24 Nov 2015 17:08:07 -0500 In-Reply-To: (Manuel Koell's message of "Mon, 23 Nov 2015 12:47:22 +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: Manuel Koell Cc: org-mode mailing list Hello, Manuel Koell writes: > I would like to see such option so someone can create a setupfile with > macros/options per project or target (component). The setupfiles can be > located in the project directory then. I dont know how to set macros in > publishing components. Otherwise, you'd have to insert the #+SETUPFILE > option in each file manually. I don't think there is a need for that. You can write a function prepending the SETUPFILE line you want to any given Org document and add it to :publishing-function property. Regards, -- Nicolas Goaziou