Re: epub files and debian?
Ben Finney <ben+debian@benfinney.id.au> writes:
> Dan Ritter <dsr@randomstring.org> writes:
>
>> However, you probably don't need to go that far. EPUB is HTML
>> in a ZIP file. Unzip it, then deal with HTML as you wish.
>
> Many EPub files that I find, don't open correctly in Evince (the default
> Gnome document viewer). Are there various formats that call themselves
> EPub?
evince cannot handle epub (application/epub+zip). Do you have files
calling themselves epub which have a different format (as reported by
file --magic)?
My epub files (created using calibre) are zip archive that look
something like this:
Length Date Time Name
--------- ---------- ----- ----
20 2015-12-17 11:37 mimetype
0 2015-12-17 11:37 META-INF/
244 2015-12-17 11:37 META-INF/container.xml
58 2015-12-17 11:37 page_styles.css
0 2015-12-17 11:37 text/
50343 2015-12-17 11:37 text/part0021.html
.....
35082 2015-12-17 11:37 text/part0026.html
35839 2015-12-17 11:37 cover.jpeg
7122 2015-12-17 11:37 content.opf
3958 2015-12-17 11:37 stylesheet.css
799 2015-12-17 11:37 titlepage.xhtml
0 2015-12-17 11:37 images/
39480 2015-12-17 11:37 images/00003.jpeg
88262 2015-12-17 11:37 images/00002.jpeg
7794 2015-12-17 11:37 toc.ncx
--------- -------
The mimetype file in the zip contains, of course, the string
"application/epub+zip".
--
regards,
kushal
Reply to: