add partial, support for numfig sphinx extension... still not perfect