OnWorks favicon

mlpost - Online in the Cloud

Run mlpost in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command mlpost that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



mlpost - wrapper around OCaml and Metapost for the Mlpost library


mlpost [options] files...


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


-pdf Generate .mps files (default)

-mp Generate .mp files

-png Generate .png files

-ps Generate .1 files

-latex <main.tex>
Scan the LaTeX prelude

-eps Generate encapsulated postscript files

-xpdf WYSIWYG mode using xpdf remote server (the name of the remote server is "mlpost")

-v Be a bit more verbose. Otherwise nothing is printed except in case of error.

Use ocamlbuild to compile

Compile to native code

-ccopt <options>
Pass <options> to the Ocaml compiler

-execopt <options>
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

-contrib <contrib-name>
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.

-get-include-compile {cmxa|cma|dir|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

-compile-name <compile-name>
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.

-cairo 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.

-help, --help
Display the list of options

Use mlpost online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

Linux commands