Save pictures in img folder, extract table from document but insert in the end of docbook