From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Fatma_Ba=c5=9fak_Aydemir?= Subject: Re: pdflatex not found? Date: Tue, 27 Oct 2015 14:55:55 +0100 Message-ID: <562F826B.1080802@gmail.com> References: <6sw6c7bnbke8ah.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr4j6-0006WM-Dd for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 09:55:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr4j1-0003fF-Ta for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 09:55:48 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:37515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr4j1-0003f5-MV for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 09:55:43 -0400 Received: by wicfv8 with SMTP id fv8so163653096wic.0 for ; Tue, 27 Oct 2015 06:55:42 -0700 (PDT) Received: from Fatmas-MacBook-Pro.local (nat-polocollina-wifi-unitnx.net.icts.unitn.it. [193.205.210.72]) by smtp.googlemail.com with ESMTPSA id lb2sm8026983wjc.15.2015.10.27.06.55.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Oct 2015 06:55:41 -0700 (PDT) In-Reply-To: <6sw6c7bnbke8ah.fsf@pfdstudio.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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I do not know the reasons but I had the same problem in the past on OS X. exec-path-from-shell package is a nice solution for that. https://github.com/purcell/exec-path-from-shell 27/10/15 14:43 tarihinde Peter Davis yazdı: > Rainer M Krug writes: > >> Envoyé de mon iPhone >> >>> Le 27 oct. 2015 à 01:14, Nick Dokos a écrit : >>> >>> Peter Davis writes: >>> >>>> Nick Dokos writes: >>> ... >>> Yes, probably, but if I can get people to submit backtraces when getting >>> an error, we can cut down the email volume by a factor of 2.43 (making up >>> fictitious data to bolster my case...) In all seriousness, at least it >>> shows that you are not going down some strange path. > I think the actual number is more like 2.17, but let's not quibble. > >>> What happens if you say M-x shell-command RET pdflatex RET? > Not found. > >>> Somebody suggested running "which pdflatex" in your shell - what does >>> that say? > Still not found. However, adding it to ~/.tcshrc seems to fix the problem. That makes sense, but leaves two questions: > > 1) Why am I able to run pdflatex (without specifying the path) just from the shell running in a terminal window? > > 2) What's the point of defining the emacs exec-path, since I needed to define the shell's PATH variable anyway? > >>> And you say it should be in /usr/texbin - what happens if you invoke >>> it with an absolute path: "/usr/texbin/pdflatex" in your shell? >> Imiight have missed it - but which OS are you using? > Sorry. It's OS X 10.10.5, using GNU Emacs 24.5.1 > > Thanks! > -pd > -- -------------------------------- Fatma Başak Aydemir PhD Student at ICT International Doctoral School Department of Information Engineering and Computer Science University of Trento Skype: fatmabasak.aydemir E-mail: aydemir@disi.unitn.it