emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: azubi <azubi@acm.org>
To: emacs-orgmode@gnu.org
Subject: Problem with org-mode and minted
Date: Wed, 08 Apr 2015 14:11:09 +0200	[thread overview]
Message-ID: <55251ADD.3010700@acm.org> (raw)

Hi all

I've recently discovered babel (of org-mode) and I try to learn it.
I've discovered a little problem that I cannot solve.

Consider the following (almost) minimal example:

* First example with language "c"

#+BEGIN_SRC c :EXPORT results
printf ("First example \n");

* Second example with language "C"

printf ("second example \n");

: second example

The first example cannot be evaluated by a C-c C-c (?? due to the small 
"c" ??). The second example is evaluated without any problem.

I've configured org-mode to use "minted" to colorize the source code 
when it is exported to latex.

For the file above, the function "org-export-latex-to-pdf" gives the 
expected result for the first example but nothing for the second one (?? 
due to the big "C" ??). Minted understand "c" as a language but not "C". 
The latex code produced by the command is (without the very long 
standard preamble):



\section{First example with language "c"}

printf ("First example \n");
\section{Second example with language "C"}

printf ("second example \n");
% Emacs 24.3.1 (Org mode 8.2.4)

What have I done wrong ?

Thank you in advance for your help.

             reply	other threads:[~2015-04-08 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 12:11 azubi [this message]
2015-04-08 16:31 ` Problem with org-mode and minted Thomas S. Dye
2015-04-08 19:37 ` Ista Zahn

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:

  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=55251ADD.3010700@acm.org \
    --to=azubi@acm.org \
    --cc=emacs-orgmode@gnu.org \


* 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


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).