emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Can't find LaTeX under MAC


From: Chao LU
Subject: [Orgmode] Can't find LaTeX under MAC
Date: Mon, 27 Sep 2010 17:06:19 -0400

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]