From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p7TFejKO012117 for ; Mon, 29 Aug 2011 17:40:45 +0200 X-IronPort-AV: E=Sophos;i="4.68,297,1312149600"; d="scan'208";a="117565880" Received: from unknown (HELO alcazar) ([195.83.212.126]) by mail1-relais-roc.national.inria.fr with ESMTP; 29 Aug 2011 17:40:40 +0200 Date: Mon, 29 Aug 2011 17:41:54 +0200 From: Maxence Guesdon To: michel levy Cc: caml-list@inria.fr Message-ID: <20110829174154.541c2dc0@alcazar> In-Reply-To: <4E5BAC4D.9090505@imag.fr> References: <4E5BAC4D.9090505@imag.fr> Organization: INRIA X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.5; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Caml-list] insert ocaml source in latex On Mon, 29 Aug 2011 17:12:13 +0200 michel levy wrote: > 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 ? You may have a look at highlight: http://www.andre-simon.de/doku/highlight/en/highlight.html -- Maxence