Package epub generates valid EPUB 3.0 files with EPUB 2.0 table of contents for maximum compatibility.