publishing pdf and index.html