WHAT WORKS FINE.
When I compile a
.tex file with
emacs knows that it should use
pdflatex. I don't really know how, because I don't see
pdflatex in my
init.el (I can't find an
.emacs.el file). On the other hand,
which pdflatex returns the absolute path
emacs knows where to find it.
WHAT I CAN'T MAKE TO WORK.
markdown-mode, as well as
brew install pandoc. When I run
C-c C-c m to compile, I get
markdown failed with exit code 127. I think it means that
emacs is not able to find
pandoc. For one thing,
pandoc is not listed under
package-activated-list, but I guess it could never be there since
pandoc is not an
elisp package (is that correct?). On the other hand,
which pandoc returns the absolute path
/usr/local/bin/pandoc so it's not a problem of
pandoc not being able to be found.
Following this answer
I could add
(setq pandoc-binary "/usr/local/bin/pandoc") in my
.emacs, but I am not sure where since I don't see any other non-elisp packages included there. But again, I don't see any such line for
pdflatex in my configuration files (
init.el), so this wouldn't answer my question:
emacs know to use
pdflatex and not
pandoc? In other words, which other files contain further configuration parameters?