From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p7TFn30A012460 for ; Mon, 29 Aug 2011 17:49:03 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwBAES0W07UGyoGkWdsb2JhbABCmG+PFhQBAQEBCQsLBxQDIoFAAQEFeBELBAETCRYPCQMCAQIBRRMIAQEXh1m5dIZMBJMfhQ6LeA X-IronPort-AV: E=Sophos;i="4.68,297,1312149600"; d="scan'208,217";a="106981732" Received: from smtp6-g21.free.fr ([212.27.42.6]) by mail4-smtp-sop.national.inria.fr with ESMTP; 29 Aug 2011 17:48:57 +0200 Received: from [192.168.0.7] (unknown [88.179.49.179]) by smtp6-g21.free.fr (Postfix) with ESMTP id 3E9038231D for ; Mon, 29 Aug 2011 17:48:50 +0200 (CEST) Message-ID: <4E5BB4E0.5020406@imag.fr> Date: Mon, 29 Aug 2011 17:48:48 +0200 From: michel levy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.20) Gecko/20110805 Thunderbird/3.1.12 MIME-Version: 1.0 To: caml-list@inria.fr References: <4E5BAC4D.9090505@imag.fr> In-Reply-To: <4E5BAC4D.9090505@imag.fr> Content-Type: multipart/alternative; boundary="------------040301060702040105070101" Subject: Re: [Caml-list] insert ocaml source in latex This is a multi-part message in MIME format. --------------040301060702040105070101 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 29/08/2011 17:12, 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 ? > Thank you all, for your answers to my questions. But for my limited needs, I have also seen that cut/paste was a solution, if, in emacs, you replace the tabs by spaces. For example, M-x untabify replaces in a selected region the tabs by spaces. --------------040301060702040105070101 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 29/08/2011 17:12, 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 ?


Thank you all, for your answers to my questions.
But for my limited needs, I have also seen that cut/paste was a solution, if, in emacs,
you replace the tabs by spaces. For example, M-x untabify replaces in a selected region the tabs by spaces.

--------------040301060702040105070101--