From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Cowley Subject: latex src block file output Date: Wed, 30 Nov 2016 14:01:27 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCA8M-0002Ph-V6 for emacs-orgmode@gnu.org; Wed, 30 Nov 2016 14:01:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCA8J-0000EB-U7 for emacs-orgmode@gnu.org; Wed, 30 Nov 2016 14:01:35 -0500 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:35196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCA8J-0000DM-NK for emacs-orgmode@gnu.org; Wed, 30 Nov 2016 14:01:31 -0500 Received: by mail-qt0-x234.google.com with SMTP id c47so197612989qtc.2 for ; Wed, 30 Nov 2016 11:01:31 -0800 (PST) Received: from Sonmi451.local (c-50-166-75-191.hsd1.nj.comcast.net. [50.166.75.191]) by smtp.gmail.com with ESMTPSA id 1sm34116489qtb.49.2016.11.30.11.01.28 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Nov 2016 11:01:28 -0800 (PST) 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" Hello, When I hit C-c C-c on a latex src block with a :file header, I ultimately get an error from org-compile-file that the expected output file in a temp directory was not produced. However, the file is produced in the current directory. For instance, evaluating the src block in the following Org document, * A Little Diagram #+BEGIN_SRC latex :file diagram.pdf :packages '(("" "tikz")) :border 1em \usetikzlibrary{shapes,arrows} \begin{tikzpicture}[->, auto, node distance=3cm] \node [draw] (A) {A}; \node [ellipse, draw, right of=A] (B) {B}; \path (A) edge node {message} (B); \end{tikzpicture} #+END_SRC Gives me the error, Debugger entered--Lisp error: (error "File \"/var/folders/n6/0j2z684n2pq_0d5kphzzvjs80000gn/T/babel-7327204x/latex-73272sec.pdf\" wasn’t produced. See \"*Org PDF LaTeX Output*\" for details") While the *Org PDF LaTeX Output* buffer says, ... Output written on latex-73272sec.pdf (1 page, 12285 bytes). ... and sure enough the file is there in the same directory as the .org file I am editing. I understand that the .tex file is in that temp directory, but pdflatex is dumping its output into the current directory. Is this a known (or even already-fixed) issue? Org mode version 9.0.1 (9.0.1-elpaplus @ /Users/acowley/.emacs.d/elpa/org-plus-contrib-20161118/) Anthony