From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Wittern Subject: latex export on mac os x with xelatex Date: Mon, 22 Feb 2010 16:34:18 +0900 Message-ID: <4B82337A.6090201@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NjSoD-0006NK-6W for emacs-orgmode@gnu.org; Mon, 22 Feb 2010 02:34:25 -0500 Received: from [140.186.70.92] (port=58850 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NjSoC-0006N3-Ar for emacs-orgmode@gnu.org; Mon, 22 Feb 2010 02:34:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NjSoB-0000Jv-IZ for emacs-orgmode@gnu.org; Mon, 22 Feb 2010 02:34:24 -0500 Received: from mail-gx0-f214.google.com ([209.85.217.214]:57953) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NjSoB-0000Jr-Fl for emacs-orgmode@gnu.org; Mon, 22 Feb 2010 02:34:23 -0500 Received: by gxk6 with SMTP id 6so44926gxk.14 for ; Sun, 21 Feb 2010 23:34:22 -0800 (PST) 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: Org Mode Mailing List Dear Orgmode users, I am trying to get Latex export working on a Mac OS X system. I have installed MacTex with the whole texlive tree. I added the path to these binaries to exec-path like so: (if (eq window-system 'mac) (add-to-list 'exec-path "/usr/local/texlive/2009/bin/universal-darwin") ) and can confirm that it is indeed picked up and existing in the exec-path. However, org-export-as-pdf does not manage to produce a pdf. Next I customized the variable to include the path so that I have "/usr/local/texlive/2009/bin/universal-darwin/xelatex -interaction nonstopmode %s" (on one line) as the value of org-latex-to-pdf-process. Now the xelatex command runs, but the next step fails, since xelatex can not convert its intermediate file to a pdf, so I get as the first line in the buffer *Org PDF Latex Output* : sh: xdvipdfmx: command not found But now I have no idea where to go to tell orgmode how to find the command -- someting seems to be seriously wrong (or I am misunderstanding how stuff is supposed to work) so any help would be appreciated. All the best, Christian