* inline source blocks and minted
@ 2012-03-13 13:29 Alan Schmitt
2012-03-13 18:47 ` Eric Schulte
0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2012-03-13 13:29 UTC (permalink / raw)
To: emacs-orgmode
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?
Thanks,
Alan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inline source blocks and minted
2012-03-13 13:29 inline source blocks and minted Alan Schmitt
@ 2012-03-13 18:47 ` Eric Schulte
2012-03-13 19:02 ` Alan Schmitt
0 siblings, 1 reply; 3+ messages in thread
From: Eric Schulte @ 2012-03-13 18:47 UTC (permalink / raw)
To: Alan Schmitt; +Cc: emacs-orgmode
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: inline source blocks and minted
2012-03-13 18:47 ` Eric Schulte
@ 2012-03-13 19:02 ` Alan Schmitt
0 siblings, 0 replies; 3+ messages in thread
From: Alan Schmitt @ 2012-03-13 19:02 UTC (permalink / raw)
To: Eric Schulte; +Cc: emacs-orgmode
On 13 mars 2012, at 19:47, Eric Schulte wrote:
> 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.
Thanks, this is what I ended up doing.
Alan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-03-13 19:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13 13:29 inline source blocks and minted Alan Schmitt
2012-03-13 18:47 ` Eric Schulte
2012-03-13 19:02 ` Alan Schmitt
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).