X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fmatita%2FmatitaMisc.ml;h=73fdd4c54e2ef6a2c5bcc605ea593410f64549fa;hb=bbe7741f3bbaacb93f2876c018dace82f5e929b8;hp=07143db991bc4f84d9f1b62997ded1d1246e3f09;hpb=aac382f935bc72578119fa7ff9f53c3b649dd0dd;p=helm.git diff --git a/helm/matita/matitaMisc.ml b/helm/matita/matitaMisc.ml index 07143db99..73fdd4c54 100644 --- a/helm/matita/matitaMisc.ml +++ b/helm/matita/matitaMisc.ml @@ -58,11 +58,11 @@ let strip_trailing_blanks = fun s -> Pcre.replace ~rex s let empty_mathml () = - Misc.domImpl#createDocument ~namespaceURI:(Some Misc.mathml_ns) + DomMisc.domImpl#createDocument ~namespaceURI:(Some DomMisc.mathml_ns) ~qualifiedName:(Gdome.domString "math") ~doctype:None let empty_boxml () = - Misc.domImpl#createDocument ~namespaceURI:(Some Misc.boxml_ns) + DomMisc.domImpl#createDocument ~namespaceURI:(Some DomMisc.boxml_ns) ~qualifiedName:(Gdome.domString "box") ~doctype:None exception History_failure @@ -192,3 +192,5 @@ let qualify status name = get_string_option status "baseuri" ^ "/" ^ name let unopt = function None -> failwith "unopt: None" | Some v -> v +let image_path n = sprintf "%s/%s" BuildTimeConf.images_dir n +