package stog

  1. Overview
  2. Docs

Module Stog.Of_latexSource

LaTeX to Stog translation.

Sourcemodule SMap : Map.S with type key = string
Sourcetype param = {
  1. prefix : string option;
  2. ext_file_prefix : string;
  3. envs : string list;
  4. sectionning : string list;
  5. image_sizes : string SMap.t;
}
Sourcetype tree =
  1. | Source of string
  2. | Block of block
Sourceand block = {
  1. tag : XR.name;
  2. title : tree list;
  3. id : string option;
  4. subs : tree list;
  5. atts : XR.attributes;
}
Sourcetype preambule_section = string option * string
Sourcetype preambule = preambule_section list
Sourcetype tex_file = {
  1. preambule : preambule;
  2. body : tree list;
}
Sourceval to_xml : tree list -> XR.tree list
Sourceval string_of_stog_directives : ?tags:'a list -> ?notags:'a list -> ('a * string) list -> string
Sourceval parse : param -> string -> string -> tex_file * param
OCaml

Innovation. Community. Security.