\ / This software is distributed as is, NO WARRANTY.
V_______________________________________________________________ *)
+module F = Filename
module P = Printf
module U = NUri
let ok = ref true
+let base = "matita"
+
+let ext = ".ma"
+
let width = 70
let out_preamble och =
(* Interface functions ******************************************************)
let open_out fname =
- let och = open_out (fname ^ ".ma") in
+ let dir = F.concat !G.ma_dir base in
+ let path = F.concat dir fname in
+ let och = open_out (path ^ ext) in
out_preamble och;
out_top_comment och (P.sprintf "This file is generated by %s: do not edit" G.version_string);
out_include och "basics/pts";