From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao LU <loochao@gmail.com> Subject: Can't find LaTeX under MAC Date: Mon, 27 Sep 2010 17:06:19 -0400 Message-ID: <AANLkTine9VXs21_qYUVXtFxpdfQ76rMn7RkypNsWN-CU@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0728176795==" Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> 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 <loochao@gmail.com>) 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 <loochao@gmail.com>) 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 <emacs-orgmode@gnu.org>; Mon, 27 Sep 2010 14:06:40 -0700 (PDT) List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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,<br><br>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:<br><br>8<--------= ---------------->8<br> <br>(defconst lch-mac-p (eq window-system 'mac) "Are we on Mac&quo= t;)<br>(if lch-mac-p<br>=A0=A0=A0 (progn<br>=A0=A0=A0=A0=A0 (setenv "P= ATH" (concat "/usr/local/texlive/2010/bin/universal-darwin:"= (getenv "PATH")))<br> =A0=A0=A0=A0=A0 (setq exec-path (append exec-path '("/usr/local/bi= n" "/usr/local/texlive/2010/bin/universal-darwin:")))<br>=A0= =A0=A0=A0=A0 )<br>=A0=A0=A0 )<br><br>8<------------------------->8<br= ><br>But seems not work, org still can't find where the LaTeX is. Could= anyone give me a hint?<br> <br>Thanks in advance ^.^<br><br>Chao<br> --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==--