emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Axel Kielhorn <org-mode@axelkielhorn.de>
To: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Bug: can not export pdf file [8.2.7c (8.2.7c-elpa @ /Users/mac/.emacs.d/elpa/org-20140730/)]
Date: Sun, 3 Aug 2014 16:53:21 +0200	[thread overview]
Message-ID: <F4078530-AF61-44B7-8585-F3AF68E470DA@axelkielhorn.de> (raw)
In-Reply-To: <1A198382-7275-4763-B644-08D2BB1692D7@gmail.com>


Am 02.08.2014 um 15:32 schrieb 童俊翔 <tongjunxiang@gmail.com>:

> 
> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.  You don't know how to make a good report?  See
> 
>     http://orgmode.org/manual/Feedback.html#Feedback
> 
> Your bug report will be posted to the Org-mode mailing list.
> ------------------------------------------------------------------------
> When I press C-c C-e l o, *Messages* shows:
> 
> /bin/bash: xelatex: command not found
> /bin/bash: bibtex: command not found
> /bin/bash: xelatex: command not found [2 times]
> org-latex-compile: PDF file ./LapRPHepatectomy.pdf wasn't produced
> 
> my mactex has updated to the latest version.
> 
> How to deal with this problem?

First try if these programs work:

Open "Terminal" and enter

xelatex --version

if that works, start emacs from the terminal:

/Applications/Emacs.app/Contents/MacOS/Emacs &

this should start the GUI emacs.
(Your path may vary.)

From this emacs you can now export the pdf.

You may want to define an alias to call emacs.

An alternative would be to hardcode the path in custom.el

 '(org-latex-pdf-process (quote ("/usr/texbin/xelatex -interaction nonstopmode -output-directory %o %f" "/usr/texbin/xelatex -interaction nonstopmode -output-directory %o %f")))

Of course you can do this using the customize interface.

Axel

      parent reply	other threads:[~2014-08-03 15:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-02 13:32 Bug: can not export pdf file [8.2.7c (8.2.7c-elpa @ /Users/mac/.emacs.d/elpa/org-20140730/)] 童俊翔
2014-08-02 22:19 ` Rasmus
2014-08-03 14:53 ` Axel Kielhorn [this message]

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=F4078530-AF61-44B7-8585-F3AF68E470DA@axelkielhorn.de \
    --to=org-mode@axelkielhorn.de \
    --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).