From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: pdflatex not found? Date: Tue, 27 Oct 2015 12:12:07 -0400 Message-ID: <6sw6c7vb9scmug.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6r9-0000CD-QS for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr6r4-0003DD-2L for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:12:15 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6r3-0003Cz-Ve for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 12:12:10 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 807A1215E5 for ; Tue, 27 Oct 2015 12:12:09 -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: Rainer M Krug Cc: Nick Dokos , emacs-orgmode@gnu.org, Rainer M Krug Rainer M Krug writes: >> >> Sorry. It's OS X 10.10.5, using GNU Emacs 24.5.1 > > I thought so. > > OK - you have pdflatex in the terminal? If yes, you have to bring the > PATH from the terminal into emacs. I use > > I use the package exec-path-from-shell for this (and use-package in general): > > (use-package exec-path-from-shell > :ensure t > :config > (exec-path-from-shell-initialize) > (exec-path-from-shell-copy-env "LC_ALL") > (exec-path-from-shell-copy-env "LANG") > ) > > so > (require 'exec-path-to-shell) > (exec-path-from-shell-initialize) > > should do this. > Thanks, Rainer. This also raises a question: If I run emacs from Finder, which shell governs its behavior? I use both zsh and tcsh in iTerm 2. ( I think I have tcsh set as my default, but I haven't figured out how to get Ruby/Rails, etc. running from there, so I still use zsh for some development.) Thanks! -pd