Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Syntaxe Caml en LaTeX
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-30 (01:59)
From: Robert Roessler <roessler@r...>
Subject: Re: [Caml-list] Syntaxe Caml en LaTeX
Pierre-Etienne Meunier wrote:

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

You could use the Scintilla ( text editing 
component - and the editor based on it, SciTE 

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 "" file.

Robert Roessler