From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Cannot get the EXPORT_FILE_NAME override to work Date: Thu, 04 May 2017 13:33:38 -0400 Message-ID: <87fugk34st.fsf@alphaville.usersys.redhat.com> References: <871ss44lud.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6KdX-0004Rj-WD for emacs-orgmode@gnu.org; Thu, 04 May 2017 13:33:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6KdR-00042e-SA for emacs-orgmode@gnu.org; Thu, 04 May 2017 13:33:55 -0400 Received: from [195.159.176.226] (port=34650 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d6KdR-000428-LS for emacs-orgmode@gnu.org; Thu, 04 May 2017 13:33:49 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d6KdI-00065O-Af for emacs-orgmode@gnu.org; Thu, 04 May 2017 19:33:40 +0200 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" To: emacs-orgmode@gnu.org Kaushal Modi writes: >> I don't know how narrowing interacts with export but the following >> >> C-c C-e C-s h h >> works (assuming you are in the correct subtree at the time). >> I meant that this works with the property set in the subtree. > ... > And that exported to hd2.html.. But this does not fit my requirement.. I need to specify the export file > name to be different for different subtrees. So add the EXPORT_FILE_NAME property to each subtree, and then do C-c C-e C-s h h *for each subtree of interest*. You could probably org-map your way through the subtrees and export each one by calling (org-export-as 'html t) N.B. the subtreep setting in this call. -- Nick