caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: luc.maranget@inria.fr
To: michel levy <michel.levy@imag.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] insert ocaml source in latex
Date: Mon, 29 Aug 2011 17:37:40 +0200	[thread overview]
Message-ID: <20110829153740.GA10086@yquem.inria.fr> (raw)
In-Reply-To: <1021401908.2930.1314630761934.JavaMail.root@zmbs2.inria.fr>

Objective Caml is defined by default by the listing package
use keyword language=[Objective]{Caml}

--Luc

> I want to insert some Ocaml expressions in latex, but by cut/paste it's
> impossible, because I lose
> the identation.
> Do you have a solution to insert Ocaml source in latex document ?
> Do you know if someone has written a definition for using ocaml with the
> listings package ?
> 
> -- 
> Michel Lévy 36  rue George Sand 38400 Saint Martin d'Hères
> tel : +33(0)476243339
> email : michel.levy@imag.fr
> http://membres-liglab.imag.fr/michel.levy 
> 
> 
> -- 
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 

-- 
Luc Maranget

       reply	other threads:[~2011-08-29 15:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1021401908.2930.1314630761934.JavaMail.root@zmbs2.inria.fr>
2011-08-29 15:37 ` luc.maranget [this message]
2011-08-29 15:12 michel levy
2011-08-29 15:31 ` Benoit Montagu
2011-08-29 15:41 ` Maxence Guesdon
2011-08-29 15:48 ` michel levy
2011-08-29 16:16   ` Esther Baruk

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

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

  git send-email \
    --in-reply-to=20110829153740.GA10086@yquem.inria.fr \
    --to=luc.maranget@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=michel.levy@imag.fr \
    /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.
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 NNTP newsgroup(s).