generatePublication