Aloha Rainer, Rainer M Krug <rai...@krugs.de> writes:
>> You can configure the listings package with the commands >> \lstnewenvironment and \lstset. There is a worked example here: >> >> http://orgmode.org/worg/org-tutorials/org-latex-export.html#sec-12-4 > > Much simpler then that: I simply changed the variable > org-latex-listings-langs to include makefile: > > ,---- > | (setq org-latex-listings-langs > | '((emacs-lisp "Lisp") > | (lisp "Lisp") > | (clojure "Lisp") > | (c "C") > | (cc "C++") > | (fortran "fortran") > | (perl "Perl") > | (cperl "Perl") > | (python "Python") > | (ruby "Ruby") > | (html "HTML") > | (xml "XML") > | (tex "TeX") > | (latex "[LaTeX]TeX") > | (shell-script "bash") > | (gnuplot "Gnuplot") > | (ocaml "Caml") > | (caml "Caml") > | (sql "SQL") > | (sqlite "sql") > | (makefile "make"))) > `---- > > Works perfectly. Nice! All the best, Tom -- Thomas S. Dye http://www.tsdye.com