X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_notation%2FcicNotationPres.mli;h=04411df2b3d2e5ed394d04f33c74ac1ae5d05ace;hb=4167cea65ca58897d1a3dbb81ff95de5074700cc;hp=68da94458dfd3fb630739811cfb23a18448bc322;hpb=ba2dfe6409e95bf9e558dc0d4be382b068671409;p=helm.git diff --git a/helm/ocaml/cic_notation/cicNotationPres.mli b/helm/ocaml/cic_notation/cicNotationPres.mli index 68da94458..04411df2b 100644 --- a/helm/ocaml/cic_notation/cicNotationPres.mli +++ b/helm/ocaml/cic_notation/cicNotationPres.mli @@ -28,13 +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 +val render: (Cic.id, UriManager.uri) Hashtbl.t -> CicNotationPt.term -> markup + +(** level 0 -> xml stream *) +val print_xml: markup -> Xml.token Stream.t +(* |+* level 1 -> xml stream + * @param ids_to_uris +| val render_to_boxml: - (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> Xml.token Stream.t + (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> Xml.token Stream.t *) -(* val render_to_mathml: - (Cic.id, string) Hashtbl.t -> CicNotationPt.term -> mathml_markup *) +val print_box: boxml_markup -> Xml.token Stream.t +val print_mpres: mathml_markup -> Xml.token Stream.t