collect figs, autotex needed for doc in one script