From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: Bug: EXPORT_FILE_NAME error [9.0.3 (9.0.3-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20161224/)] Date: Wed, 28 Dec 2016 09:56:47 -0800 Message-ID: References: <877f6kp1y3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="0-1109795344-1482947808=:668" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35730) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cMIT8-0002Aa-Bt for emacs-orgmode@gnu.org; Wed, 28 Dec 2016 12:56:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cMIT5-0006D9-9t for emacs-orgmode@gnu.org; Wed, 28 Dec 2016 12:56:54 -0500 Received: from iport-acv3-out.ucsd.edu ([132.239.0.4]:28670) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cMIT4-0006Cw-TR for emacs-orgmode@gnu.org; Wed, 28 Dec 2016 12:56:51 -0500 In-Reply-To: <877f6kp1y3.fsf@gmail.com> 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: Andrea Cc: emacs-orgmode@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1109795344-1482947808=:668 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 28 Dec 2016, Andrea wrote: > > Hello, > > thanks for org mode, it is great! > I am having a problem with the latest version of org: I really would > like to be able to export buffers in a different directory, and so far I > used the :EXPORT_FILE_NAME: property for this use case. > > However, after upgrading to the latest release it seems that something > does not work anymore: the pdf file is generated but the output > directory is ignored! > > You could reproduce this by: I cannot reproduce this. I get files /tmp/bla.pdf /tmp/bla.tex and my reader opens the former file. FWIW, there have been some discussions in recent months about pdf export. On my macbook, C-h v org-latex-pdf-process RET gives: org-latex-pdf-process is a variable defined in ‘ox-latex.el’. Its value is ("latexmk -g -pdf -pdflatex=\"%latex\" -outdir=%o %f") Original value was ("%latex -interaction nonstopmode -output-directory %o %f" "%latex -interaction nonstopmode -output-directory %o %f" "%latex -interaction nonstopmode -output-directory %o %f") [...] which works for macOS Sierra. See the full docstring for details. IIRC, the original value does not work for me to export to another directory. HTH, Chuck --0-1109795344-1482947808=:668--