Browse Source

ox-latex: Add mapping for R src blocks with minted

* ox-latex.el (org-latex-listings-langs): Add mapping for R.
Rasmus 4 years ago
parent
commit
385f2381f9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      lisp/ox-latex.el

+ 2 - 1
lisp/ox-latex.el

@@ -924,7 +924,8 @@ into previewing problems, please consult
     (gnuplot "Gnuplot")
     (ocaml "Caml") (caml "Caml")
     (sql "SQL") (sqlite "sql")
-    (makefile "make"))
+    (makefile "make")
+    (R "r"))
   "Alist mapping languages to their listing language counterpart.
 The key is a symbol, the major mode symbol without the \"-mode\".
 The value is the string that should be inserted as the language