caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Robert Roessler <roessler@rftp.com>
To: Pierre-Etienne Meunier <meunier.pe@free.fr>
Cc: Caml-list <caml-list@inria.fr>
Subject: Re: [Caml-list] Syntaxe Caml en LaTeX
Date: Sun, 29 May 2005 19:01:39 -0700	[thread overview]
Message-ID: <429A7403.8050002@rftp.com> (raw)
In-Reply-To: <4299ACEA.5050901@free.fr>

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 (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


      parent reply	other threads:[~2005-05-30  1:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-29 11:52 Pierre-Etienne Meunier
2005-05-29 23:25 ` [Caml-list] " Martin Jambon
2005-05-30 10:40   ` Jon Harrop
2005-05-31 19:56   ` ocaml + enscript (was Re: [Caml-list] Syntaxe Caml en LaTeX) Janne Hellsten
2005-05-29 23:49 ` [Caml-list] Syntaxe Caml en LaTeX Chris Campbell
2005-05-30  2:01 ` Robert Roessler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=429A7403.8050002@rftp.com \
    --to=roessler@rftp.com \
    --cc=caml-list@inria.fr \
    --cc=meunier.pe@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).