Am 02.08.2014 um 15:32 schrieb 童俊翔 <tongjunxi...@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