X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatitac.ml;h=179a0ba8e8e508e413f22958cef5c20cc1039fbc;hb=e016b4d32f05113a882e83a9fc8319751224c975;hp=fc1a95e1606aba56cb321cc95a6b6d3289a63cb1;hpb=5abe94a6813fc8fc810df6a35bdb32eaac179536;p=helm.git diff --git a/matita/matitac.ml b/matita/matitac.ml index fc1a95e16..179a0ba8e 100644 --- a/matita/matitac.ml +++ b/matita/matitac.ml @@ -52,13 +52,16 @@ let out_preamble och (path, lines) = (* from matitacLib *) -let pp_ast_statement = +let pp_ast_statement st = GrafiteAstPp.pp_statement ~term_pp:CicNotationPp.pp_term - ~lazy_term_pp:CicNotationPp.pp_term ~obj_pp:(CicNotationPp.pp_obj CicNotationPp.pp_term) + ~map_unicode_to_tex:(Helm_registry.get_bool + "matita.paste_unicode_as_tex") + ~lazy_term_pp:CicNotationPp.pp_term ~obj_pp:(CicNotationPp.pp_obj CicNotationPp.pp_term) st (**) let dump f = + Helm_registry.set_bool "matita.moo" false; let floc = H.dummy_floc in let nl_ast = G.Comment (floc, G.Note (floc, "")) in let och = open_out f in @@ -85,6 +88,7 @@ let dump f = at_exit atexit let main () = + Helm_registry.set_bool "matita.moo" true; match Filename.basename Sys.argv.(0) with |"gragrep" |"gragrep.opt" |"gragrep.opt.static" ->Gragrep.main() |"matitadep" |"matitadep.opt" |"matitadep.opt.static" ->Matitadep.main()