help-gnu-emacs
[Top][All Lists]
Advanced

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

Problem with AucTeX and Path


From: Alberto Simões
Subject: Problem with AucTeX and Path
Date: Fri, 23 Mar 2007 20:53:23 +0000
User-agent: Thunderbird 2.0b2 (Macintosh/20070116)

Hi

I am trying to use AucTeX and compile directly a latex file using PdfLaTeX.

After calling pdflatex, I get:
Running `LaTeX' on `NATools' with ``pdflatex "\nonstopmode\input{NATools.tex}"''
 /bin/sh: line 1: pdflatex: command not found

In my shell:
 [ambs@Diabelli ACL2007]$ which pdflatex
 /usr/texbin/pdflatex

And in my .emacs:

 (custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(TeX-PDF-mode t)
 '(c-default-style "stroustrup")
 '(cperl-electric-parens-mark nil)
'(exec-path (quote ("/sw/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/opt/libexec/emacs/22.0.50/powerpc-apple-darwin8.1.0" "/usr/texbin")))
  [...]

What am I doing wrong?

TIA
Alberto

--
Alberto Simões - Departamento de Informática - Universidade do Minho
                 Campus de Gualtar - 4710-057 Braga - Portugal




reply via email to

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