emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: Chao LU <loochao@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can't find LaTeX under MAC
Date: Mon, 27 Sep 2010 11:30:52 -1000	[thread overview]
Message-ID: <C81A2D45-9B1B-46A7-988B-DDCCC779417C@tsdye.com> (raw)
In-Reply-To: <AANLkTine9VXs21_qYUVXtFxpdfQ76rMn7RkypNsWN-CU@mail.gmail.com>

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

  reply	other threads:[~2010-09-27 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-27 21:06 Can't find LaTeX under MAC Chao LU
2010-09-27 21:30 ` Thomas S. Dye [this message]
     [not found]   ` <AANLkTikvPY2LKjAOK=ZmFbgWkaubAuksU=xkoY3kfspp@mail.gmail.com>
2010-09-28 11:58     ` Matthew Leifer
2010-09-28 12:20       ` Jeff Horn
2010-09-28 12:35         ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C81A2D45-9B1B-46A7-988B-DDCCC779417C@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=loochao@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).