package mlpost

  1. Overview
  2. Docs

Use the Cairo backend to draw your figures; not always available

val supported : bool
val emit_pdf : ?msg_error:float -> string -> Command.t -> unit
val emit_ps : string -> Command.t -> unit
val emit_png : string -> Command.t -> unit
val emit_svg : string -> Command.t -> unit
val emit_pdfs : string -> Command.t list -> unit

One figure by page

val dump_pdf : unit -> unit
val dump_ps : unit -> unit
val dump_png : unit -> unit
val dump_svg : unit -> unit
val dump_pdfs : string -> unit

Use the figures recorded by the function emit of metapost

val generate_pdfs : string -> (int * Command.t) list -> unit
type cairo_t = Cairo.context
val emit_cairo : cairo_t -> (float * float) -> Command.t -> unit
OCaml

Innovation. Community. Security.