From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Fix `listings' language for `latex' code blocks Date: Tue, 28 May 2013 21:18:53 +0200 Message-ID: <86ppwalxpe.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hello, Listings should use the LaTeX flavor of the TeX language for `latex' code blocks. Here is the patch therefore. Best regards, Seb >From 0be53f74dd665600229f7ac81b3e548718846658 Mon Sep 17 00:00:00 2001 From: Sebastien Vauban Date: Tue, 28 May 2013 21:14:33 +0200 Subject: [PATCH] Add LaTeX flavor for listings output of 'latex' code blocks * ox-latex.el (org-latex-listings-langs): Update custom variable. --- lisp/ox-latex.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 41cf1d0..0312bef 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -651,7 +651,7 @@ passed to pdflatex." (fortran "fortran") (perl "Perl") (cperl "Perl") (python "Python") (ruby "Ruby") (html "HTML") (xml "XML") - (tex "TeX") (latex "TeX") + (tex "TeX") (latex "[LaTeX]TeX") (shell-script "bash") (gnuplot "Gnuplot") (ocaml "Caml") (caml "Caml") -- 1.7.9 -- Sebastien Vauban