From mboxrd@z Thu Jan 1 00:00:00 1970 From: Myles English Subject: Re: pdflatex not found? Date: Mon, 26 Oct 2015 20:29:43 +0000 Message-ID: <87lhapbcg8.fsf@gmail.com> References: <6sw6c7ziz5e8ik.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqoOs-0003ly-KQ for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 16:29:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqoOp-0005xK-F3 for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 16:29:50 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:36499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqoOp-0005x2-8w for emacs-orgmode@gnu.org; Mon, 26 Oct 2015 16:29:47 -0400 Received: by wicfx6 with SMTP id fx6so131404513wic.1 for ; Mon, 26 Oct 2015 13:29:46 -0700 (PDT) Received: from localhost (host86-165-143-81.range86-165.btcentralplus.com. [86.165.143.81]) by smtp.googlemail.com with ESMTPSA id a9sm15190797wiy.11.2015.10.26.13.29.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Oct 2015 13:29:45 -0700 (PDT) In-reply-to: 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 John Hendy writes: > On Mon, Oct 26, 2015 at 2:26 PM, Peter Davis wrote: >> >> 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. > > Someone else might have a better answer, but can you check your system > itself first? I'm guessing "exec-path" is an Org/Emacs variable? > > Just try: > > $ which pdflatex > > Or > > $ pdflatex --version > > That would be my suggestion for starters. At least then you know it's > definitely not your system/setup (my bet is that it is, though). > > > John > >> >> Any ideas? >> >> Thank you! >> >> -pd pd, After trying what has alreaddy been suggested you might try putting your cursor after the last bracket of this and pressing C-x C-e to see what emacs thinks your shell PATH environment variable is set to: (getenv "PATH") If you can't see the correct path in there then it should probably be set in ~/.profile or equivalent for tcsh rather than in ~/.tcshrc (I don't use tcsh so I just guessed that filename). Myles