Stog library reference documentation : Stog_of_latex

Module Stog_of_latex

module Stog_of_latex: sig .. end
LaTeX to Stog translation.

module SMap: Map.S  with type key = string
type param = {
   prefix : string option;
   ext_file_prefix : string;
   envs : string list;
   sectionning : string list;
   image_sizes : string SMap.t;
}
type tree = 
| Source of string
| Block of block
type block = {
   tag : Xtmpl.name;
   title : tree list;
   id : string option;
   subs : tree list;
   atts : Xtmpl.attributes;
}
type preambule_section = string option * string 
type preambule = preambule_section list 
type tex_file = {
   preambule : preambule;
   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