From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao LU Subject: Can't find LaTeX under MAC Date: Mon, 27 Sep 2010 17:06:19 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0728176795==" Return-path: Received: from [140.186.70.92] (port=51877 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0KuJ-0002Qq-1r for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:06:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0KuH-00017p-OO for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:06:42 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:64026) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0KuH-00017h-Lg for emacs-orgmode@gnu.org; Mon, 27 Sep 2010 17:06:41 -0400 Received: by ywl5 with SMTP id 5so2547643ywl.0 for ; Mon, 27 Sep 2010 14:06:40 -0700 (PDT) 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 --===============0728176795== Content-Type: multipart/alternative; boundary=000e0cd6a944cca1820491441a7b --000e0cd6a944cca1820491441a7b Content-Type: text/plain; charset=ISO-8859-1 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 --000e0cd6a944cca1820491441a7b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear all,

I'm trying to use org-mode under MAC, and when I expor= t to html, some fragments of LaTeX needs to be converted. So I got the texl= ive installed and then put these lines into my .emacs:

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

(defconst lch-mac-p (eq window-system 'mac) "Are we on Mac&quo= t;)
(if lch-mac-p
=A0=A0=A0 (progn
=A0=A0=A0=A0=A0 (setenv "P= ATH" (concat "/usr/local/texlive/2010/bin/universal-darwin:"= (getenv "PATH")))
=A0=A0=A0=A0=A0 (setq exec-path (append exec-path '("/usr/local/bi= n" "/usr/local/texlive/2010/bin/universal-darwin:")))
=A0= =A0=A0=A0=A0 )
=A0=A0=A0 )

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
--000e0cd6a944cca1820491441a7b-- --===============0728176795== 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 --===============0728176795==--