From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [ANN] Add EXPORT_FILE_NAME keyword Date: Wed, 21 Dec 2016 16:43:50 +0100 Message-ID: <87d1glxp6x.fsf@nicolasgoaziou.fr> References: <87zijqziaf.fsf@nicolasgoaziou.fr> <93ae6cda-6077-125c-7bdf-979f197d0573@verizon.net> <87tw9xy6d2.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJj3U-00081V-LA for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 10:43:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJj3R-0001YG-Ib for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 10:43:48 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33234) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJj3R-0001Xy-Cm for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 10:43:45 -0500 In-Reply-To: (Charles Millar's message of "Wed, 21 Dec 2016 07:11:30 -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" To: Charles Millar Cc: emacs-orgmode@gnu.org Hello, Charles Millar writes: > Hi again, > > > On 12/21/2016 04:32 AM, Nicolas Goaziou wrote: >> Hello, >> >> Charles Millar writes: >> >> >>> However, I tried to export a subheading with, e.g. >>> #+EXPORT_FILE_NAME: /foo/baz, >>> and >>> the result is /foo/bar.pdf, not /foo/baz.pdf >> Where does "bar" come from? >> > I was not clear. I should have shown - > > * this heading > #+EXPORT_FILE_NAME: /foo/bar > > ** next heading > #+EXPORT_FILE_NAME: /foo/baz > > If i C-c C-e C-s l o "next heading" the document in that heading is > exported as /foo/bar.pdf, not /foo/baz.pdf This is expected, then. Only one keyword is supported. If you want to use a different file name per subtree, use the property instead. Regards, -- Nicolas Goaziou