]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matitac.ml
map_unicode_to_tex is no longer optional and it always refers to the current
[helm.git] / matita / matitac.ml
index fc1a95e1606aba56cb321cc95a6b6d3289a63cb1..31b304333fd34e3446fe27953666273b33b5d062 100644 (file)
@@ -52,9 +52,11 @@ 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
 
 (**)