From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Fenton Subject: latex exporting to different directory with v9.0 Date: Sat, 5 Nov 2016 12:54:20 +0100 Message-ID: <36258fcb-bc34-6517-2bc6-919722c3e72f@pressure.to> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2zYw-00085G-N2 for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 07:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2zYt-0006HK-MQ for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 07:55:06 -0400 Received: from plato.servwise.com ([94.76.236.81]:41873) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2zYt-0005fX-DP for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 07:55:03 -0400 Received: from x4db4aac3.dyn.telefonica.de ([77.180.170.195]:34814 helo=[192.168.178.25]) by plato.servwise.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1c2zYD-000Bl8-1S for emacs-orgmode@gnu.org; Sat, 05 Nov 2016 11:54:21 +0000 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 Firstly, congratulations and thanks to all the contributors to the new release. One thing that has unfortunately stopped working is my setup for exporting to pdf, putting all the intermediary (.tex, .aux, .bbl, etc) and output files in a different directory to the source .org files. My setup is basically project/ - images/ - out/ with all the .org files in the project base directory. A simple publishing set-up exported .tex to out/ then called org-latex-compile. With 9.0, org-latex-compile hands off to org-compile-file, in which (as documented) "`default-directory' is set to SOURCE directory during the whole process." This means, however, that all the image and bibliograpy links in the .org files are now broken, since they point to ./img/foo.png and not ../img/foo.png It is easy enough to continue to compile from the base directory with latexmk and --output-directory, but how is it now intended to do this within org's export/publishing framework? symlinks are not an option since I'm sometimes working on Windows. thanks alex