From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zack Piper Subject: Re: ox-latex doesn't export with `\newminted`. Date: Fri, 7 Aug 2015 13:40:54 +0000 Message-ID: <20150807134054.GA15078@apertron.net> References: <20150807131153.GA960@apertron.net> <87fv3v1bdz.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNhtM-0001M3-4F for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 09:41:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNhtI-0007Ng-QS for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 09:41:00 -0400 Received: from apertron.net ([94.23.236.101]:49098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNhtI-0007N0-Bg for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 09:40:56 -0400 Received: from apertron.net (apertron.net [94.23.236.101]) by apertron.net (Postfix) with ESMTPS id 675AE5FC78 for ; Fri, 7 Aug 2015 13:40:55 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87fv3v1bdz.fsf@gmx.us> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Fri, Aug 07, 2015 at 03:22:32PM +0200, Rasmus wrote: > Zack Piper 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 http://apertron.net