From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: publishing to PDF Date: Mon, 30 Aug 2010 14:38:06 +0200 Message-ID: <87fwxwff81.fsf@gmx.de> References: <4C7B84D8.6020801@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=58539 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq3dX-0001JN-BE for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:39:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq3cu-0003or-St for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:38:18 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:50209 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oq3cu-0003oM-Fu for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 08:38:16 -0400 In-Reply-To: <4C7B84D8.6020801@fastmail.fm> (Erwin Panen's message of "Mon, 30 Aug 2010 12:15:52 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erwin Panen Cc: emacs-orgmode@gnu.org Erwin Panen writes: > Hi everyone, > > Trying to make my first steps in publishing. > I'm working on Mac, using Emacs 23.2.1 with Org-mode version 6.36trans. > > I seem to have various LaTeX stuff installed on my MacBook. I have to admit that > I have no experience with LaTeX whatsoever. (TeXShop, LaTeXit, TeXWorks) So I'm > not sure if my configuration if any is correct in this view. > > When I issue: > C-c C-e p > I get following message: > ------------------------- > For information about GNU Emacs and the GNU system, type C-h C-a. > OVERVIEW > CHILDREN > SUBTREE > Select command: > Exporting to PDF... > Exporting to LaTeX... > Saving file /Users/erwin/git/org/Erhard.tex... > Wrote /Users/erwin/git/org/Erhard.tex > Saving file /Users/erwin/git/org/Erhard.tex... > Wrote /Users/erwin/git/org/Erhard.tex > LaTeX export done, pushed to kill ring and clipboard > Processing LaTeX file... > (Shell command failed with code 127 and some error output) [2 times] > Processing LaTeX file...done > org-export-as-pdf: PDF file was not produced > ------------------------ Hi Erwin, not sure about MAC, but for most UNIX shells (i think), a return value of 127 means "command not found". It seems some LaTeX packages are missing. Most of us use the TexLive distribution, a collection of the most commonly used LaTeX packages and binaries. Are you able to execute the command `pdflatex' in a console? Sebastian