ocaml/manual
Gabriel Scherer 7c71653524 Merge pull request #364 from Octachron/manual_new_syntax_sugar
Manual: new purely syntactic forms
2015-12-21 14:07:14 +01:00
..
manual Merge pull request #364 from Octachron/manual_new_syntax_sugar 2015-12-21 14:07:14 +01: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.