]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaScript.ml
- matita: computed auto traces now include the "width" parameter
[helm.git] / matita / matita / matitaScript.ml
index cb443ae469254510b4a3e5ee2b459f9761001a47..de78194f0254f0592642d8b90ad40c3ccd183fde 100644 (file)
@@ -145,7 +145,11 @@ let eval_nmacro include_paths (buffer : GText.buffer) status unparsed_text parse
         try List.assoc "depth" a
         with Not_found -> ""
       in
-      let trace = "/"^(if int_of_string depth > 1 then depth else "")^" by " in
+      let width = 
+        try List.assoc "width" a
+        with Not_found -> ""
+      in
+      let trace = "/"^(if int_of_string depth > 1 then depth ^ " width=" ^ width else "")^" by " in
       let thms = 
         match !trace_ref with
         | [] -> ""