emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Zack Piper <zack@apertron.net>
To: emacs-orgmode@gnu.org
Subject: Re: ox-latex doesn't export with `\newminted`.
Date: Fri, 7 Aug 2015 13:40:54 +0000	[thread overview]
Message-ID: <20150807134054.GA15078@apertron.net> (raw)
In-Reply-To: <87fv3v1bdz.fsf@gmx.us>

On Fri, Aug 07, 2015 at 03:22:32PM +0200, Rasmus wrote:
> Zack Piper <zack@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 <zack@apertron.net> http://apertron.net

  reply	other threads:[~2015-08-07 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-07 13:11 ox-latex doesn't export with `\newminted` Zack Piper
2015-08-07 13:22 ` Rasmus
2015-08-07 13:40   ` Zack Piper [this message]
2015-08-07 13:31 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150807134054.GA15078@apertron.net \
    --to=zack@apertron.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).