From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: pdflatex not found? Date: Tue, 27 Oct 2015 16:48:59 +0100 Message-ID: References: <6sw6c7bnbke8ah.fsf@pfdstudio.com> <562F826B.1080802@gmail.com> <871tcg7272.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6Ul-0002FU-Cp for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:49:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr6Ug-0004hg-8R for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:49:07 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:38701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr6Ug-0004hL-3A for emacs-orgmode@gnu.org; Tue, 27 Oct 2015 11:49:02 -0400 Received: by wicll6 with SMTP id ll6so166690371wic.1 for ; Tue, 27 Oct 2015 08:49:01 -0700 (PDT) In-Reply-To: <871tcg7272.fsf@alphaville.usersys.redhat.com> (Nick Dokos's message of "Tue, 27 Oct 2015 11:37:05 -0400") 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 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Nick Dokos writes: > Fatma Ba=C5=9Fak Aydemir writes: > >> 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 >> > > Just the need for a package like that indicates that something is badly > broken on OS X, I think. To be fair, it's a mess on Linux as well, but > it is possible to make sure that variables you define (and export) in > your .profile get propagated to applications started by the DE/WM. In my > current installation (Fedora 21), that is done by > /etc/X11/xinit/xinitrc-common, which does this: > > [ -r $HOME/.profile ] && . $HOME/.profile > > Maybe OS X has a "hidden" mechanism like this? Nope - this is a "feature" since Yosemite. Cheers, Rainer > >> 27/10/15 14:43 tarihinde Peter Davis yazd=C4=B1: >>> Rainer M Krug writes: >>> >>>> Envoy=C3=A9 de mon iPhone >>>> >>>>> Le 27 oct. 2015 =C3=A0 01:14, Nick Dokos a =C3=A9c= rit : >>>>> >>>>> Peter Davis writes: >>>>> >>>>>> Nick Dokos writes: >>>>> ... >>>>> Yes, probably, but if I can get people to submit backtraces when gett= ing >>>>> an error, we can cut down the email volume by a factor of 2.43 (makin= g 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? >>> > > FWIW, I never define exec-path explicitly: it is set from my $PATH when > emacs starts. > > -- > Nick > > > =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJWL5zrAAoJENvXNx4PUvmCELMH/Rj7z7EEOCxT5oVWY6PcsibQ pRnsoEk/rmzqTyyU9NCHP3SyXh1b+HOOdoBUCrKaBPvUlWv1mJc7ngv3tZeNm1yA PTx2ZdUv9159PNXQyxOvuA6ibkKnzzyXyLeQOs9OTKz8AZCkBNEIlcHL3Sjqks34 DHMEXVSbEjgB0nOI6l6Dp6n7enA6kk3MtcLlMHA6uAPHA46gsAPhPx1YXT+Tjr1p qdhrcpbDZ9pQ2PaR7aKRLq3n5mrP7JxjfXtEpQcQyHmryeFPDOAa7meo1PvjD1BL CyU4gBJfzGb51LxeqsZV/UtL71VQj+lvNeJnYcr/v+hbtNVKrsiHl/u6qP1U49A= =gEzj -----END PGP SIGNATURE----- --=-=-=--