ocaml/manual
David Allsopp fe4b643c4e Support OCAML_FLEXLINK environment variable
OCAML_FLEXLINK is inspected by ocamlopt, ocamlc and ocamlmklib and allows
the flexlink command to be overriden. This is primarily intended as a
solution for bootstrapping OCaml with FlexDLL, thus allowing a bytecode
image of flexlink launched with ocamlrun to be executed, instead of
requiring flexlink to be in PATH.
2016-01-15 17:07:11 +00:00
..
manual Support OCAML_FLEXLINK environment variable 2016-01-15 17:07:11 +00:00
styles Add multind.sty. 2014-10-07 09:22:01 +00:00
tools Add .gitignore's. 2014-10-07 09:22:00 +00:00
LICENSE manual/ add LICENSE file extracted from manual/foreword.etex 2015-11-29 08:45:25 +01:00
Makefile manual build: have 'make all' run 'make tools' first 2015-11-29 08:41:31 +01:00
README.md manual build: have 'make all' run 'make tools' first 2015-11-29 08:41:31 +01:00

README.md

OCAML DOCUMENTATION

Prerequisites

  • Any prerequisites required to build OCaml from sources.

  • The Unix editor 'ed', no longer installed by default on some systems.

  • A LaTeX installation.

  • The HeVeA LaTeX-to-HTML convertor (available in OPAM): http://hevea.inria.fr/

Note that you must make sure hevea.sty is installed into TeX properly. Your package manager may not do this for you. Run kpsewhich hevea.sty to check.

Building

  1. Install the OCaml distribution.

  2. Run make in the manual.

NB: If you already set LD_LIBRARY_PATH (OS X: DYLD_LIBRARY_PATH) in you environnement don't forget to add otherlibs/unix:otherlibs/str to it in an absolute way.

Outputs

In the manual:

  • The HTML Manual is in directory htmlman. The main file is index.html.

  • The plain text manual is in direcory textman as file manual.txt.

  • The Info manual is in directory infoman.

  • The DVI manual is in directory texstuff as file manual.dvi.

  • The PDF manual is in directory texstuff as file pdfmanual.pdf.