From mboxrd@z Thu Jan 1 00:00:00 1970 From: Axel Kielhorn 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 Message-ID: References: <1A198382-7275-4763-B644-08D2BB1692D7@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55691) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDxdV-0002WB-6F for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 11:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XDxdQ-0002nf-8H for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 11:23:49 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::10]:61880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XDxdP-0002nS-Tn for emacs-orgmode@gnu.org; Sun, 03 Aug 2014 11:23:44 -0400 Received: from regis.fritz.box (p4FD0FB08.dip0.t-ipconnect.de [79.208.251.8]) by smtp.strato.de (RZmta 35.2 DYNA|AUTH) with ESMTPSA id R04bfcq73ErMYso (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Sun, 3 Aug 2014 16:53:22 +0200 (CEST) In-Reply-To: <1A198382-7275-4763-B644-08D2BB1692D7@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode Mailing List Am 02.08.2014 um 15:32 schrieb =E7=AB=A5=E4=BF=8A=E7=BF=94 = : >=20 > 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 >=20 > http://orgmode.org/manual/Feedback.html#Feedback >=20 > Your bug report will be posted to the Org-mode mailing list. > = ------------------------------------------------------------------------ > When I press C-c C-e l o, *Messages* shows: >=20 > /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 >=20 > my mactex has updated to the latest version. >=20 > 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.) =46rom 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