From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Leifer Subject: RE: Can't find LaTeX under MAC Date: Tue, 28 Sep 2010 12:58:55 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1350991601==" Return-path: Received: from [140.186.70.92] (port=60001 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0Ypq-0001so-Fg for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 07:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0Ypo-0000Ux-SK for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 07:59:02 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:51052) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0Ypo-0000Us-J4 for emacs-orgmode@gnu.org; Tue, 28 Sep 2010 07:59:00 -0400 Received: by iwn33 with SMTP id 33so9481238iwn.0 for ; Tue, 28 Sep 2010 04:58:59 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1350991601== Content-Type: multipart/alternative; boundary=005045015627c62382049150914b --005045015627c62382049150914b Content-Type: text/plain; charset=ISO-8859-1 I'm also on a Mac and it worked for me without any configuration. You might need to check whether the TeX settings in your System Preferences are set correctly. TeXLive installs a preference pane which sets the appropriate PATH variables via a GUI so you don't have to do any hacking on your .emacs file. Also, you might want to look at using Aquamacs Emacs rather than the plain Emacs that ships with OSX because it comes pre-loaded with all the important customizations for LaTeXing. On 27 September 2010 22:30, Thomas S. Dye wrote: > Aloha Chao, > > I have texlive 2010 installed on my Mac. This path works for me: > > **** Emacs set path to LaTeX binaries > #+begin_src emacs-lisp :tangle yes > (setenv "PATH" (concat (getenv "PATH") ":/usr/texbin")) > (setq exec-path (append exec-path '("/usr/texbin"))) > #+end_src > > HTH, > Tom > > > On Sep 27, 2010, at 11:06 AM, Chao LU wrote: > > Dear all, >> >> I'm trying to use org-mode under MAC, and when I export to html, some >> fragments of LaTeX needs to be converted. So I got the texlive installed and >> then put these lines into my .emacs: >> >> 8<------------------------>8 >> >> (defconst lch-mac-p (eq window-system 'mac) "Are we on Mac") >> (if lch-mac-p >> (progn >> (setenv "PATH" (concat >> "/usr/local/texlive/2010/bin/universal-darwin:" (getenv "PATH"))) >> (setq exec-path (append exec-path '("/usr/local/bin" >> "/usr/local/texlive/2010/bin/universal-darwin:"))) >> ) >> ) >> >> 8<------------------------->8 >> >> But seems not work, org still can't find where the LaTeX is. Could anyone >> give me a hint? >> >> Thanks in advance ^.^ >> >> Chao >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --005045015627c62382049150914b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm also on a Mac and it worked for me without any configuration.=A0 Yo= u might need to check whether the TeX settings in your System Preferences a= re set correctly.=A0 TeXLive installs a preference pane which sets the appr= opriate PATH variables via a GUI so you don't have to do any hacking on= your .emacs file.=A0 Also, you might want to look at using Aquamacs Emacs = rather than the plain Emacs that ships with OSX because it comes pre-loaded= with all the important customizations for LaTeXing.


On 27 September 2010 22:30, Thomas S. Dye <tsd@= tsdye.com> wrote:
Aloha Chao,

I have texlive 2010 installed on my Mac. =A0This path works for me:

**** Emacs set path to LaTeX binaries
#+begin_src emacs-lisp :tangle yes
=A0 =A0(setenv "PATH" (concat (getenv "PATH") ":/= usr/texbin"))
=A0 =A0(setq exec-path (append exec-path '("/usr/texbin")))<= br> #+end_src

HTH,
Tom


On Sep 27, 2010, at 11:06 AM, Chao LU wrote:

=
Dear all,

I'm trying to use org-mode under MAC, and when I export to html, some f= ragments of LaTeX needs to be converted. So I got the texlive installed and= then put these lines into my .emacs:

8<------------------------>8

(defconst lch-mac-p (eq window-system 'mac) "Are we on Mac")<= br> (if lch-mac-p
=A0 =A0(progn
=A0 =A0 =A0(setenv "PATH" (concat "/usr/local/texlive/2010/= bin/universal-darwin:" (getenv "PATH")))
=A0 =A0 =A0(setq exec-path (append exec-path '("/usr/local/bin&qu= ot; "/usr/local/texlive/2010/bin/universal-darwin:")))
=A0 =A0 =A0)
=A0 =A0)

8<------------------------->8

But seems not work, org still can't find where the LaTeX is. Could anyo= ne give me a hint?

Thanks in advance ^.^

Chao
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


--005045015627c62382049150914b-- --===============1350991601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1350991601==--