emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: can not export pdf file [8.2.7c (8.2.7c-elpa @ /Users/mac/.


From: Axel Kielhorn
Subject: Re: [O] 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

Am 02.08.2014 um 15:32 schrieb 童俊翔 <address@hidden>:

> 
> 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




reply via email to

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