prevent removeInlineFormulas from creating figure = []