* Fix `listings' language for `latex' code blocks
@ 2013-05-28 19:18 Sebastien Vauban
2013-05-30 13:30 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Sebastien Vauban @ 2013-05-28 19:18 UTC (permalink / raw)
To: emacs-orgmode-mXXj517/zsQ
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 <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Fix `listings' language for `latex' code blocks
2013-05-28 19:18 Fix `listings' language for `latex' code blocks Sebastien Vauban
@ 2013-05-30 13:30 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-05-30 13:30 UTC (permalink / raw)
To: Sebastien Vauban; +Cc: public-emacs-orgmode-mXXj517/zsQ
Hello,
"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> Listings should use the LaTeX flavor of the TeX language for `latex' code
> blocks.
>
> Here is the patch therefore.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-05-30 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-28 19:18 Fix `listings' language for `latex' code blocks Sebastien Vauban
2013-05-30 13:30 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).