From 1d1804350664a0708ef720b3638d86b5a4864890 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 11 Aug 2009 15:45:10 +0200 Subject: [PATCH] LaTeX export: Add more languages for source code publishing --- lisp/ChangeLog | 3 +++ lisp/org-latex.el | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1cf18fd68..cd882a843 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2009-08-11 Carsten Dominik + * org-latex.el (org-export-latex-listings-langs): Add a few more + languages. + * org-exp.el (org-export-preprocess-apply-macros): Make sure to ignore newlines and space before the first macro argument. diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 92d1084b7..ac761ff85 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -318,7 +318,10 @@ for example using customize, or with something like :perl "Perl" :cperl "Perl" :python "Python" :ruby "Ruby" :html "HTML" :xml "XML" :tex "TeX" :latex "TeX" - :shell-script "bash") + :shell-script "bash" + :gnuplot "Gnuplot" + :ocaml "Caml" :caml "Caml" + :sql "SQL") "Property list mapping languages to their listing language counterpart. Yhe keys ar ethe major mode symbol, the calues are the string that should be inserted as the language parameter for the listings package."