package stog

  1. Overview
  2. Docs
module SMap : sig ... end
type param = {
  1. prefix : string option;
  2. ext_file_prefix : string;
  3. envs : string list;
  4. sectionning : string list;
  5. image_sizes : string SMap.t;
}
type tree =
  1. | Source of string
  2. | Block of block
and block = {
  1. tag : Xtmpl.name;
  2. title : tree list;
  3. id : string option;
  4. subs : tree list;
  5. atts : Xtmpl.attributes;
}
type preambule_section = string option * string
type preambule = preambule_section list
type tex_file = {
  1. preambule : preambule;
  2. body : tree list;
}
val to_xml : tree list -> Xtmpl.tree list
val string_of_stog_directives : ?tags:'a list -> ?notags:'a list -> ('a * string) list -> string
val parse : param -> string -> string -> tex_file * param
OCaml

Innovation. Community. Security.