AUCTeX complains that pdflatex
cannot be found. However, according to your comments you checked and found pdftex
, not pdflatex
, which still can be missing.
Today, pdflatex
if often just a symbolic link to pdftex
. For example, on my Ubuntu system with TeX Live 2011:
> ls -l `which pdflatex`
lrwxrwxrwx 1 root root 49 2011-10-07 22:13 /usr/local/bin/pdflatex
-> /usr/local/texlive/2011/bin/x86_64-linux/pdflatex
> ls -l /usr/local/texlive/2011/bin/x86_64-linux/pdflatex
lrwxrwxrwx 1 root root 6 2009-08-15 19:49
/usr/local/texlive/2011/bin/x86_64-linux/pdflatex -> pdftex
It finally points to pdftex
.
So, you could
- configure Emacs/AUCTeX to run
pdftex
instead of pdflatex
, since LaTeX is just the format, not the engine or executable
or create a symbolic link, such as by
ln -s /usr/local/texlive/2011/bin/x86_64-linux/pdftex pdflatex
in your path, where it can be found.
or use the TeX Live Manager, start it by
sudo tlmgr -gui
and have a look in the menu Actions/ Managing symbolic links to the point update symbolic links or let it create symbolic links, this is also possible via command line option to tlmgr
(see tlmgr --help
).