View Single Post
Old 04-08-2018, 08:05 AM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by hfpop View Post
I noticed a difference in behavior about naming the html files inside the EPUB archive.

(a) long-file-name.HTML -> author-title-filename.EPUB
The EPUB file has a list of HTML files named long-file-name-split-000.html etc.

(b) long-file-name.HTML -> author-title-filename.AZW3 -> author-title-filename.EPUB
The EPUB file has a text folder with a list of HTML files named part000.html etc.

I do not like what happens at (a): the internal html files should have simple names, as in (b). What can I do to change this behavior? Is there an option somewhere that I missed?
I not an AZW3 user, but my understanding is that these don't have any separate internal files like epubs do. Hence, the conversion from HTML to AZW3 loses this. The conversion to ePub has to create files and uses a simple name.

For the conversion from HTML to ePub, the simplest thing to do is build an ePub that uses the HTML file with appropriate changes. The first pass at creating the ePub is this. And if you turn the functions off that create chapters, or it was a file that didn't need to be split, then that is the way t stays. If the conversion results in that file being split, then the current file name is used with "split-nnn" added to it.

And this naming is used for other conversions that start with multiple internal files. Keeping the names helps to track what is happening and reduces the risk of a name clash during the conversion.
davidfor is offline   Reply With Quote