emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Wittern <cwittern@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: latex export on mac os x with xelatex
Date: Mon, 22 Feb 2010 16:34:18 +0900	[thread overview]
Message-ID: <4B82337A.6090201@gmail.com> (raw)

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

             reply	other threads:[~2010-02-22  7:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22  7:34 Christian Wittern [this message]
2010-02-22 11:49 ` latex export on mac os x with xelatex Christian Wittern

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=4B82337A.6090201@gmail.com \
    --to=cwittern@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).