emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Thomas S. Dye" <tsd@tsdye.com>
To: erwinpanen@fastmail.fm
Cc: emacs-orgmode@gnu.org
Subject: Re: publishing to PDF
Date: Mon, 30 Aug 2010 06:05:45 -1000	[thread overview]
Message-ID: <6C0A9C31-FA9F-49C8-9F04-A5EE6CBC70E8@tsdye.com> (raw)
In-Reply-To: <4C7BA6FC.2040004@fastmail.fm>

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<erwinpanen@fastmail.fm>  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

  reply	other threads:[~2010-08-30 16:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 10:15 publishing to PDF Erwin Panen
2010-08-30 11:18 ` Russell Adams
2010-08-30 12:38 ` Sebastian Rose
2010-08-30 12:41   ` Erwin Panen
2010-08-30 16:05     ` Thomas S. Dye [this message]
2010-08-30 17:37     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6C0A9C31-FA9F-49C8-9F04-A5EE6CBC70E8@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=erwinpanen@fastmail.fm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).