added 'publish to pdf' buttons.