Bläddra i källkod

LaTeX export: Add more languages for source code publishing

Carsten Dominik 16 år sedan
förälder
incheckning
1d18043506
2 ändrade filer med 7 tillägg och 1 borttagningar
  1. 3 0
      lisp/ChangeLog
  2. 4 1
      lisp/org-latex.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* 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.
 

+ 4 - 1
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."