Rename table publication into document
Two small fixes, sanitize PDF titles, and publication -> document.