formatter: moved publication section to be shared