[Top][All Lists]

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

[Orgmode] latex export on mac os x with xelatex

From: Christian Wittern
Subject: [Orgmode] latex export on mac os x with xelatex
Date: Mon, 22 Feb 2010 16:34:18 +0900
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv: Gecko/20100111 Thunderbird/3.0.1

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,


reply via email to

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