LaTeX export: Add more languages for source code publishing

This commit is contained in:
Carsten Dominik 2009-08-11 15:45:10 +02:00
parent 5ad80265af
commit 1d18043506
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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."