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

--
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to