X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Focaml%2Fcic_notation%2FcicNotationPres.mli;h=d0297387190ffd8bfd18ab40acccc59a7f9c7e39;hb=33a02e0b639217093eb63f30169aaa6ac8c78907;hp=f507dc6bf44e35a1110490f9452a297dd83178a8;hpb=08ecc780b3b0a4cac7ed72cf68c310e4eeffa2c1;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationPres.mli b/helm/ocaml/cic_notation/cicNotationPres.mli index f507dc6bf..d02973871 100644 --- a/helm/ocaml/cic_notation/cicNotationPres.mli +++ b/helm/ocaml/cic_notation/cicNotationPres.mli @@ -28,20 +28,25 @@ and boxml_markup = mathml_markup Box.box type markup = mathml_markup +(** {2 Markup conversions} *) + +val mpres_of_box: boxml_markup -> mathml_markup +val box_of_mpres: mathml_markup -> boxml_markup + +(** {2 Rendering} *) + (** level 1 -> level 0 * @param ids_to_uris mapping id -> uri for hyperlinking *) val render: (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> markup -(** @param ids_to_uris *) -val render_to_boxml: - (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> Xml.token Stream.t - -(* val render_to_mathml: - (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> mathml_markup *) +(** level 0 -> xml stream *) +val print_xml: markup -> Xml.token Stream.t -val mpres_of_box: boxml_markup -> mathml_markup -val box_of_mpres: mathml_markup -> boxml_markup +(* |+* level 1 -> xml stream + * @param ids_to_uris +| +val render_to_boxml: + (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> Xml.token Stream.t *) -val print_mpres: mathml_markup -> Xml.token Stream.t val print_box: boxml_markup -> Xml.token Stream.t +val print_mpres: mathml_markup -> Xml.token Stream.t