emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Alan Schmitt <alan.schmitt@polytechnique.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: inline source blocks and minted
Date: Tue, 13 Mar 2012 12:47:16 -0600	[thread overview]
Message-ID: <87pqcgfidn.fsf@gmx.com> (raw)
In-Reply-To: <83A200B2-6B51-45CB-A8B7-49E9BA3254BB@polytechnique.org> (Alan Schmitt's message of "Tue, 13 Mar 2012 14:29:24 +0100")

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

> Hello,
>
> I'm writing a presentation for a course on OCaml, and I managed to get
> minted to work. Unfortunately I'm having issues with inline code
> blocks. I tried to do something like:
>
> This value has type src_ocaml{int}
>
> but the exported LaTeX is simply
>
> This value has type 
>
> Is it possible to have some nice syntax hilighting of source code inline?
>

Currently there is no support for nicely syntax highlighted inline
source blocks.  I tend to use regular =verbatim= for inline code.

You could always find out how this is accomplished directly in latex and
include inline LaTeX in your Org-mode document.

Best,

>
> Thanks,
>
> Alan

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-03-13 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 13:29 inline source blocks and minted Alan Schmitt
2012-03-13 18:47 ` Eric Schulte [this message]
2012-03-13 19:02   ` Alan Schmitt

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=87pqcgfidn.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=alan.schmitt@polytechnique.org \
    --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).