I am using emacs with org mode to take notes. I read that org mode can export to pdf whene you type C-c C-e lp
. When I type this in, *Org PDF LaTeX Output*
buffer says :
/bin/bash: pdflatex: command not found
But when I run $ pdflatex
on my terminal the program executes.
I belive that emacs doesn't login in bash, and as a result it doesn't have acces to my $PATH
variable.
Do you have any idea how I can fix this. Thanks in advance.
echo $PATH
in a shell) and inside Emacs ((getenv "PATH")
)?