references and figs in underlying math
finish math merge