On Fri, Aug 07, 2015 at 03:22:32PM +0200, Rasmus wrote: > Zack Piper <z...@apertron.net> writes: > > > Apparently ox-latex doesn't add `\newminted` to languages that I wish > > to use. > > > > This is required to use: > > > > \begin{common-lispcode} > > (format t "test") > > \end{common-lispcode} > > > > That being the `${LANG}code` environment, which Org-mode uses for my > > entire document. > > What is the org code you use to produce this? > > From a clean Emacs, I get > > #+BEGIN_SRC emacs-lisp > x > #+END_SRC >
Same as that. > Translated to > > \begin{minted}[]{common-lisp} > x > \end{minted} > > When (setq org-latex-listings 'minted). > I solved the "problem" I was using the wrong setting ("org-latex-custom-lang-environments") when i should be using ("org-latex-minted-langs"). Thanks! Sorry for the noise. -- Zack Piper <z...@apertron.net> http://apertron.net