emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] publishing to PDF


From: Thomas S. Dye
Subject: Re: [Orgmode] publishing to PDF
Date: Mon, 30 Aug 2010 06:05:45 -1000

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<address@hidden>  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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]