Rebuilding .pdf and searchable html