clean up clean-up-latex. handle figure in footnote