X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_transformations%2Fmpresentation.ml;h=a160c7e221c703f331725a17f8f08db0d28728bc;hb=015263908d9142798bcbddbe4c4d13f71e08c5c3;hp=09eb6331e085caa2dd1ae94a506ecdd16b4f8beb;hpb=ab06d9617b863a42a49f9a407694a9605f500b98;p=helm.git diff --git a/helm/ocaml/cic_transformations/mpresentation.ml b/helm/ocaml/cic_transformations/mpresentation.ml index 09eb6331e..a160c7e22 100644 --- a/helm/ocaml/cic_transformations/mpresentation.ml +++ b/helm/ocaml/cic_transformations/mpresentation.ml @@ -207,17 +207,17 @@ and print_mrow = and print_mtd = let module X = Xml in function - Mtd (attr,m) -> X.xml_nempty ~prefix "mtd" attr (print_mpres m) + Mtd (attr,m) -> X.xml_nempty ~prefix "mtd" attr [< (print_mpres m) ; X.xml_nempty ~prefix "mphantom" [] (X.xml_nempty ~prefix "mtext" [] (X.xml_cdata "(")) >] ;; -let print_mpres pres = +let document_of_mpres pres = [< Xml.xml_cdata "\n" ; Xml.xml_cdata "\n"; Xml.xml_nempty ~prefix "math" [Some "xmlns","m","http://www.w3.org/1998/Math/MathML" ; Some "xmlns","helm","http://www.cs.unibo.it/helm" ; Some "xmlns","xlink","http://www.w3.org/1999/xlink" - ] (print_mpres pres) + ] (Xml.xml_nempty ~prefix "mstyle" [None, "mathvariant", "normal"; None, "rowspacing", "0.6ex"] (print_mpres pres)) >]