was generated. This is not allowed by BoxPp (assert failure).
aux (r::accum) tl
| _::_ -> assert false in
aux [] context in
- let pres_context = (Box.b_v [] (context2pres context)) in
+ let pres_context =
+ if context <> [] then [Box.b_v [] (context2pres context)] else [] in
let pres_goal = term2pres ty in
(Box.b_h [] [
Box.b_space;
(Box.b_v []
- [Box.b_space;
- pres_context;
+ (Box.b_space ::
+ pres_context @ [
b_ink [None,"width","4cm"; None,"height","2px"]; (* sequent line *)
Box.b_space;
- pres_goal])])
+ pres_goal]))])
let sequent2pres ~ids_to_inner_sorts =
sequent2pres