<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2005/05/4829bcb645589c3e49b7525fdbcfb549"
  from="Robert Roessler &lt;roessler@r...&gt;"
  author="Robert Roessler"
  date="2005-05-30T01:59:57"
  subject="Re: [Caml-list] Syntaxe Caml en LaTeX"
  prev="2005/05/4f94c39a6c6a214959cfb92bc5ddaaa3"
  next="2005/05/7eefb30de1ae624335d93464b385be7c"
  prev-in-thread="2005/05/12eb8e9c4d0a3b61eaf2b18ee41fdde4"
  prev-thread="2005/05/034a45e75fe608992a6dfbf1786f1d2d"
  next-thread="2005/05/d298027f22c532037195c387de551c13"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Syntaxe Caml en LaTeX">
<msg 
  url="2005/05/56f407dc3d21dc1297cdb13574bdcfa5"
  from="Pierre-Etienne Meunier &lt;meunier.pe@f...&gt;"
  author="Pierre-Etienne Meunier"
  date="2005-05-29T11:53:26"
  subject="Syntaxe Caml en LaTeX">
<msg 
  url="2005/05/928667cae629843ec349774c5971067d"
  from="Martin Jambon &lt;martin_jambon@e...&gt;"
  author="Martin Jambon"
  date="2005-05-29T23:26:16"
  subject="Re: [Caml-list] Syntaxe Caml en LaTeX">
<msg 
  url="2005/05/7eefb30de1ae624335d93464b385be7c"
  from="Jon Harrop &lt;jon@f...&gt;"
  author="Jon Harrop"
  date="2005-05-30T10:41:04"
  subject="Re: [Caml-list] Syntaxe Caml en LaTeX">
</msg>
<msg 
  url="2005/05/f7d03a54af7b3da73362c55370fff386"
  from="Janne Hellsten &lt;jjhellst@g...&gt;"
  author="Janne Hellsten"
  date="2005-05-31T19:56:59"
  subject="ocaml + enscript (was Re: [Caml-list] Syntaxe Caml en LaTeX)">
</msg>
</msg>
<msg 
  url="2005/05/12eb8e9c4d0a3b61eaf2b18ee41fdde4"
  from="Chris Campbell &lt;cyberdanx@g...&gt;"
  author="Chris Campbell"
  date="2005-05-29T23:49:35"
  subject="Re: [Caml-list] Syntaxe Caml en LaTeX">
</msg>
<msg 
  url="2005/05/4829bcb645589c3e49b7525fdbcfb549"
  from="Robert Roessler &lt;roessler@r...&gt;"
  author="Robert Roessler"
  date="2005-05-30T01:59:57"
  subject="Re: [Caml-list] Syntaxe Caml en LaTeX">
</msg>
</msg>
</thread>

<contents>
Pierre-Etienne Meunier wrote:

&gt; Here comes the english version :
&gt; 
&gt; I'd like to include Caml code in a LaTeX file, but since it is pretty 
&gt; big, I want it to be easily readable. Then I want to keep the colored 
&gt; syntax, like in tuareg for emacs. Do you know how to do it ?

You could use the Scintilla (http://www.scintilla.org/) text editing 
component - and the editor based on it, SciTE 
(http://www.scintilla.org/SciTE.html).

It "understands" OCaml source inasmuch as it can syntax color it... 
combined with the ability [in SciTE] to export to LaTeX (as well as 
HTML, PDF and more), your needs may be met.

Note that the specific colors used for the syntax elements are easily 
adjusted by editing the "caml.properties" file.

Robert Roessler
roessler@rftp.com
http://www.rftp.com

</contents>

</message>

