X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FtexTermEditor.ml;h=b5dea98164bb026c584c2979defa58fb9d46cf9f;hb=6f0f31787fb03ea4956227e8fcdbc12abd366931;hp=b89974d7152ff94b2a8e7f8a0e4c32d43bfced7e;hpb=63f211d673ba5a9eb05b0bdad2585e2b251f2baa;p=helm.git diff --git a/helm/gTopLevel/texTermEditor.ml b/helm/gTopLevel/texTermEditor.ml index b89974d71..b5dea9816 100644 --- a/helm/gTopLevel/texTermEditor.ml +++ b/helm/gTopLevel/texTermEditor.ml @@ -23,6 +23,9 @@ * http://cs.unibo.it/helm/. *) +let debug = true +let debug_print s = if debug then prerr_endline s + (******************************************************************************) (* *) (* PROJECT HELM *) @@ -206,7 +209,7 @@ module Make(C:DisambiguateTypes.Callbacks) = | None -> None ) context in -prerr_endline ("###CSC: " ^ (Mathml_editor.get_tex tex_editor)) ; + debug_print ("TexTermEditor: Raw Tex: " ^ (Mathml_editor.get_tex tex_editor)) ; let environment',metasenv,expr = Disambiguate'.disambiguate_term mqi_handle context metasenv (Mathml_editor.get_tex tex_editor) !environment