From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Can't find LaTeX under MAC Date: Mon, 27 Sep 2010 11:30:52 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7BIT Return-path: Received: from [140.186.70.92] (port=52728 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0LI6-0003qO-Fb for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:31:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0LI5-0004G2-0V for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:31:18 -0400 Received: from mta10.its.hawaii.edu ([128.171.224.146]:42673) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0LI4-0004FH-Qm for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:31:16 -0400 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: Chao LU Cc: emacs-orgmode@gnu.org 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