matita's editor is good on its own and has interesting facilities including predefined virtuals
in lambdadelta we use matita to edit the .tbl files containing notation from the .ma's
and we use matita as well to edit predefined_virtuals.ml
we still wonder how we could do this up to now despite the assertion!
let mk_baseuri root extra =
let chop name =
+(* FG: there is no reason why matita should edit just matita files
+ matita's editor is good on its own and has interesting facilities
+ including predefined virtuals
assert(Filename.check_suffix name ".ma" ||
Filename.check_suffix name ".mma");
+*)
try Filename.chop_extension name
with Invalid_argument "Filename.chop_extension" -> name
in