type id = string (* identifier *)
-type desc = string (* description *)
+type info = string * string (* language, text *)
type kind = Decl (* generic declaration *)
| Ax (* axiom *)
| Sorts of (int option * id) list
(* section: Some id = open, None = close last *)
| Section of id option
-(* entity: class, name, description, contents *)
- | Entity of kind * N.level * id * desc * term
+(* entity: main?, class, name, info, contents *)
+ | Entity of bool * kind * N.level * id * info * term
(* predefined generated entity: arguments *)
| Generate of term list