From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: publishing to PDF Date: Mon, 30 Aug 2010 06:05:45 -1000 Message-ID: <6C0A9C31-FA9F-49C8-9F04-A5EE6CBC70E8@tsdye.com> References: <4C7B84D8.6020801@fastmail.fm> <87fwxwff81.fsf@gmx.de> <4C7BA6FC.2040004@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=53683 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq6ry-0006GL-Rx for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 12:06:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq6rx-0000Hc-BO for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 12:06:02 -0400 Received: from oproxy3-pub.bluehost.com ([69.89.21.8]:34998) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Oq6rx-0000HK-3S for emacs-orgmode@gnu.org; Mon, 30 Aug 2010 12:06:01 -0400 In-Reply-To: <4C7BA6FC.2040004@fastmail.fm> 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: erwinpanen@fastmail.fm Cc: emacs-orgmode@gnu.org Hi Erwin, Does Emacs know the path to your LaTeX executables? I have these lines in .emacs (don't know why I have both and not sure now if one or both are needed): (setenv "PATH" (concat (getenv "PATH") ":/usr/texbin")) (setq exec-path (append exec-path '("/usr/texbin"))) hth, Tom On Aug 30, 2010, at 2:41 AM, Erwin Panen wrote: > Hi Sebastian, > > Thanks for your very fast reply :-) > Yes, I can issue 'pdflatex' from a console: > ------------------------------------- > macbook:~ erwin$ pdflatex > This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) > ** > ------------------------------------- > > I assume it must be a matter of config? > > Erwin > > On 30/08/10 14:38, Sebastian Rose wrote: >> 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 > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode