Formatting for pdf on new version.