From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: pdflatex not found? Date: Mon, 26 Oct 2015 18:18:25 -0400 Message-ID: <6sw6c7si4xe0jy.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqq62-0007we-G1 for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 18:18:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zqq5z-00052I-AB for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 18:18:30 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zqq5z-00051a-4A for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 18:18:27 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7AEB120099 for ; Mon, 26 Oct 2015 18:18:26 -0400 (EDT) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos writes: > Peter Davis writes: > >> I'm trying to export PDF from org, but I'm getting the error: >> >> pdflatex: Command not found. [3 times] >> >> I've checked the definition of exec-path, and it includes >> "/usr/texbin", which is where tcsh tells me the executable is. >> >> Any ideas? >> > > Backtrace? Sorry. Here's the backtrace: Debugger entered--Lisp error: (error "PDF file ./test.pdf wasn't produced") signal(error ("PDF file ./test.pdf wasn't produced")) error("PDF file ./test.pdf wasn't produced") org-latex-compile("./test.tex") #[(file) "\301!\207" [file org-latex-compile] 2]("./test.tex") org-export-to-file(latex "./test.tex" nil nil nil nil nil #[(file) "\301!\207" [file org-latex-compile] 2]) org-latex-export-to-pdf(nil nil nil nil) (org-open-file (org-latex-export-to-pdf nil s v b)) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) This seems less useful to me than the *Messages* buffer: Debug on Error enabled globally org-babel-exp processing... executing Dot code block... Wrote /var/folders/d4/xb7t0gbd0f97p6494kz5xzdnmlncz8/T/babel-2213VOW/ob-input-22136yU Code block evaluation complete. Saving file /Users/davisp/Dropbox/HMH/test.tex... Wrote /Users/davisp/Dropbox/HMH/test.tex Processing LaTeX file ./test.tex... pdflatex: Command not found. [3 times] Entering debugger... Mark set End of buffer I did verify that the shell, my default of tcsh, does show pdflatex at the right location, /usr/texbin/pdflatex Thanks, -pd