Scroll to navigation

MLPOST(1) General Commands Manual MLPOST(1)

NAME

mlpost - wrapper around OCaml and Metapost for the Mlpost library

SYNOPSIS

mlpost [options] files...

DESCRIPTION

mlpost is a program that compiles OCaml files to PostScript or PDF files using the Mlpost library.

OPTIONS

Generate .mps files (default)
Generate .mp files
Generate .png files
Generate .1 files
Scan the LaTeX prelude
Generate encapsulated postscript files
WYSIWYG mode using xpdf remote server (the name of the remote server is "mlpost")
Be a bit more verbose. Otherwise nothing is printed except in case of error.
Use ocamlbuild to compile
Compile to native code
Pass <options> to the Ocaml compiler
Pass <options> to the compiled program
Print Mlpost version and exit
Do not parse mlpost options, do not call Metapost.dump
output dependency lines in a format suitable for the make(1) utility
compile with the specified contrib
output one name of dumpable file by line. So it print all the figures which will be created by the .ml file.
output the libraries which are needed by the library Mlpost if you want not to use the mlpost tool :

- cmxa print the needed cmxa file (opt version)
- cma print the needed cma file (byte version)
- dir print the directories needed to be include
- file print the file name inside this directory without extension

Keep the compiled version of the .ml file and name it <compile-name>.
Don't execute the mlfile. So mlpost generates no figures. With this option you can check that a file compile without wasting time to generate the figures. The options -dont-execute and -compile-name can be used in conjunction to create a program which generates some figures according to some command line options.
Don't remove intermediates files. The metapost backend use some intermediates files which are removed without this option.
Use the cairo backend instead of metapost
Set the program used to decrypt PostScript Type 1 font, only with cairo (default built-in one). This option will disappear soon.
Display the list of options

SEE ALSO

mpost(1), ocamlc(1), xpdf(1).

AUTHOR

Mlpost was written by Romain Bardou, François Bobot, Johannes Kanig, Stéphane Lescuyer and Jean-Christophe Filliâtre.

This manual page was written by Stéphane Glondu <steph@glondu.net> and completed by the Mlpost authors for the Debian project (but may be used by others).

August 2009