]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/DEVEL/mathml_editor/ocaml/mathml_editor.ml
ocaml 3.09 transition
[helm.git] / helm / DEVEL / mathml_editor / ocaml / mathml_editor.ml
index 06372e8e497729be4f6c498c8c1f6e081cccf264..a49ea436e452e90cf9fece827567a60b5a4cbc56 100644 (file)
  * or send an email to <lpadovan@cs.unibo.it>
  *)
 
-let create ~dictionary ~mml ~tml ~log =
-  I_mathml_editor.create dictionary#as_Document mml#as_Document tml#as_Document log
+let default_dictionary_path = I_mathml_editor.get_default_dictionary_path ()
+;;
+
+let default_mathml_stylesheet_path = I_mathml_editor.get_default_mathml_stylesheet_path ()
+;;
+
+let default_tex_stylesheet_path = I_mathml_editor.get_default_tex_stylesheet_path ()
+;;
+
+let create ?(alt_lexer=false) ~dictionary_uri ~mml_uri ~tml_uri ~log =
+  I_mathml_editor.create ~alt_lexer ~dictionary_uri ~mml_uri ~tml_uri ~log
 ;;
 
 let freeze = I_mathml_editor.freeze