X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=helm%2Fsoftware%2Fmatita%2FapplyTransformation.ml;h=670fd2e0c5d8fb7dd4e87cba43baa41aa4f98253;hb=700b170aa9b0377d33f1edd44de8d89129477fb8;hp=e741ed70c4ba8c79f1f88488057bd51522487b27;hpb=84e6cbe962c9a534be48542c098d7bb0d90be9a1;p=helm.git diff --git a/helm/software/matita/applyTransformation.ml b/helm/software/matita/applyTransformation.ml index e741ed70c..670fd2e0c 100644 --- a/helm/software/matita/applyTransformation.ml +++ b/helm/software/matita/applyTransformation.ml @@ -204,7 +204,15 @@ let txt_of_cic_object (CicNotationPres.mpres_of_box bobj) ) | G.Procedural depth -> +(* + PO.critical := false; + Acic2Procedural.tex_formatter := Some Format.std_formatter; + let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in +*) let obj, info = PO.optimize_obj obj in +(* + let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in +*) let aobj, ids_to_inner_sorts, ids_to_inner_types = get_aobj obj in let term_pp = term2pres ~map_unicode_to_tex (n - 8) ids_to_inner_sorts in let lazy_term_pp = term_pp in @@ -244,6 +252,9 @@ let discharge_uri style uri = let discharge_name s = s ^ "_discharged" let txt_of_inline_uri ~map_unicode_to_tex style ?flavour prefix suri = +(* + Ds.debug := true; +*) let print_exc = function | ProofEngineHelpers.Bad_pattern s as e -> Printexc.to_string e ^ " " ^ Lazy.force s