Loading ...
Sorry, an error occurred while loading the content.

Re: "ocaml_beginners"::[] OCaml code in Latex

Expand Messages
  • Walter Cazzola
    The correct setting is: lstset{{[Objective]Caml}} it is included in the standart texlive distribution. Walter ... --
    Message 1 of 6 , Oct 31, 2011
    • 0 Attachment
      The correct setting is:

      \lstset{{[Objective]Caml}}

      it is included in the standart texlive distribution.

      Walter

      On Sun, 30 Oct 2011, Jianzhou Zhao wrote:

      > Are they included in the standard package?
      > I tried
      > \lstset{language=OCamL}
      > \lstset{language=OcaML}
      > \lstset{language=OCaML}
      >
      > But they are not working. Do I need to install any additional package?
      >
      >
      > On Sun, Oct 30, 2011 at 11:29 AM, Walter Cazzola <cazzola@...>wrote:

      >> On Sun, 30 Oct 2011, Jianzhou Zhao wrote:

      >>> What is a good latex package for writing OCaml code? listings seems to
      >>> support Caml. Is this the one we should use? Thanks.

      >> I'm using listings it supports both SML and OCaML syntaxes. And as far
      >> as I know it does a very good pretty printing of OCaML code.

      --
    Your message has been successfully submitted and would be delivered to recipients shortly.