[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] ox-latex doesn't export with `\newminted`.
From: |
Zack Piper |
Subject: |
Re: [O] ox-latex doesn't export with `\newminted`. |
Date: |
Fri, 7 Aug 2015 13:40:54 +0000 |
User-agent: |
Mutt/1.5.23+113 (34ca1c5fdd45) (2014-03-12) |
On Fri, Aug 07, 2015 at 03:22:32PM +0200, Rasmus wrote:
> Zack Piper <address@hidden> 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 <address@hidden> http://apertron.net