merge publication from https://github.com/melpon/publication