+int
+man_addeqn(struct man *man, const struct eqn *ep)
+{
+ struct man_node *n;
+
+ assert( ! (MAN_HALT & man->flags));
+
+ n = man_node_alloc(man, ep->ln, ep->pos, MAN_EQN, MAN_MAX);
+ n->eqn = ep;
+
+ if ( ! man_node_append(man, n))
+ return(0);
+
+ man->next = MAN_NEXT_SIBLING;
+ return(man_descope(man, ep->ln, ep->pos));
+}
+
+int
+man_addspan(struct man *man, const struct tbl_span *sp)
+{
+ struct man_node *n;
+
+ assert( ! (MAN_HALT & man->flags));
+
+ n = man_node_alloc(man, sp->line, 0, MAN_TBL, MAN_MAX);
+ n->span = sp;
+
+ if ( ! man_node_append(man, n))
+ return(0);
+
+ man->next = MAN_NEXT_SIBLING;
+ return(man_descope(man, sp->line, 0));
+}