Rebuilding html+pdf