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 p7TFYrMh011613 for ; Mon, 29 Aug 2011 17:34:53 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswCAJ6wW06egkQMgWdsb2JhbABCqAQUAQEWJiWBQAEBBAE4QQULCyEWDwkDAgECAUUGDQEHAheHV7l5hkwEmC2MEg X-IronPort-AV: E=Sophos;i="4.68,297,1312149600"; d="scan'208";a="106980071" Received: from fox.seas.upenn.edu ([158.130.68.12]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Aug 2011 17:34:47 +0200 Received: from [158.130.12.16] (SEASNet-12-07.cis.upenn.edu [158.130.12.16]) (authenticated bits=0) by fox.seas.upenn.edu (8.14.4/8.14.3) with ESMTP id p7TFVVTJ016352 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Mon, 29 Aug 2011 11:31:32 -0400 Message-ID: <4E5BB0D3.4010302@m4x.org> Date: Mon, 29 Aug 2011 11:31:31 -0400 From: Benoit Montagu User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110820 Icedove/3.1.12 MIME-Version: 1.0 To: michel levy CC: caml-list@inria.fr References: <4E5BAC4D.9090505@imag.fr> In-Reply-To: <4E5BAC4D.9090505@imag.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-08-29_05:2011-08-29,2011-08-29,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1108290159 Subject: Re: [Caml-list] insert ocaml source in latex > 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 ? It might not be up to date, but there is one that is included in the default listings package. \lstset{ language=[Objective]Caml } should work. -- Benoit