소스 검색

LaTeX export: Add more languages for source code publishing

Carsten Dominik 16 년 전
부모
커밋
1d18043506
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  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."