beginnings of EPUB export