From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: [ANN] Add EXPORT_FILE_NAME keyword Date: Tue, 20 Dec 2016 19:25:18 -0500 Message-ID: <93ae6cda-6077-125c-7bdf-979f197d0573@verizon.net> References: <87zijqziaf.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJUj1-0003y7-Ow for emacs-orgmode@gnu.org; Tue, 20 Dec 2016 19:25:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJUiy-0002Vg-Jt for emacs-orgmode@gnu.org; Tue, 20 Dec 2016 19:25:43 -0500 Received: from vms173021pub.verizon.net ([206.46.173.21]:41098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJUiy-0002Uw-EG for emacs-orgmode@gnu.org; Tue, 20 Dec 2016 19:25:40 -0500 Received: from vz-proxy-l006.mx.aol.com ([64.236.82.150]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0OII00D5XEI7P080@vms173021.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 20 Dec 2016 18:25:20 -0600 (CST) In-reply-to: <87zijqziaf.fsf@nicolasgoaziou.fr> 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 Hi Nicolas On 12/20/2016 11:17 AM, Nicolas Goaziou wrote: > Hello, > > I just introduced #+EXPORT_FILE_NAME keyword, which allows to change the > output file name upon exporting a document. > > Thank you and a couple of questions/observations 1. Exporting to pdf latex - I used #+EXPORT_FILE_NAME: /foo/bar at the beginning of a document - worked fine. 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 This is not the same result that using the PROPERTIES construct in a subheading, which will export with the subheading :EXPORT_FILE_NAME: /foo/baz, which does generate a short document named /foo/baz.pdf Should we be able to apply the new #+EXPORT_FILE_NAME: to a subheading or does it work only for an entire buffer? Org mode version 9.0.2 (release_9.0.2-132-gc130b2 @ /usr/local/share/emacs/site-lisp/org-mode/lisp/) GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian 2. An editorial suggestion for the realted ORGNEWS item which currently reads: Simiralry to ~:EXPORT_FILE_NAME:~ property, this keyword allow to specify the name of the output file upon exporting the document. This has also an effect on publishing. be changed along the following lines? Similar to ~:EPORT_FILE_NAME:~ property, this keyword allows the user to specify the name of the output file upon exporting the document. This also has an effect on publishing (or "This also effects publishing." Regards, Charlie Millar