Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2019, 07:20 AM   #1
pavelh
Connoisseur
pavelh began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Oct 2009
Device: Kobo Clara HD, Kindle 3
Question epub: why multiple HTML?

Hi,
probably a very simple answer to this, I hope

I wonder why are texts within epub divided into several HTML files? Is it only because of chapters? If you want to apply some automatic functions to the text, it is always easier to have just a single file if possible, so why creating this multi-html structure?

Thanks in advance for explaining this to me
Best!

P
pavelh is offline   Reply With Quote
Old 10-10-2019, 08:02 AM   #2
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 59,053
Karma: 227668907
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
It's so that ePub reading software can render the HTML within limited resources, as it only needs to render part of the book (one HTML file) at a time.
pdurrant is offline   Reply With Quote
Old 10-10-2019, 09:09 AM   #3
pavelh
Connoisseur
pavelh began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Oct 2009
Device: Kobo Clara HD, Kindle 3
That was something that crossed my mind also but knowing nothing about the HW could not really evaluate the validity of the assumption.
Thank you for your kind reply!
Best
P
pavelh is offline   Reply With Quote
Old 10-10-2019, 10:26 AM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 53,467
Karma: 49277837
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by pavelh View Post
That was something that crossed my mind also but knowing nothing about the HW could not really evaluate the validity of the assumption.
Thank you for your kind reply!
Best
P
When ADE was made for the Sony Reader PRS-505, they had to make it work/fit the existing hardware. So it was decided to make each HTML file no bigger then a specific size (I don't know what that size is offhand). that means that ePub works with limited hardware.
JSWolf is offline   Reply With Quote
Old 10-10-2019, 10:52 AM   #5
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 748
Karma: 1771618
Join Date: Nov 2011
Device: none
It's about chapters. It's about not making the reader cope with over-large files.

Sigil lets you perform e.g. search/replace operations on 'Current File', 'All HTML Files' or 'Selected HTML Files'. Doesn't the editor you use?

Also, it's a great deal easier to locate a code error in a block of 500 lines rather than one of 5000!
exaltedwombat is offline   Reply With Quote
Old 10-10-2019, 12:28 PM   #6
elchamaco
Zealot
elchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enoughelchamaco will become famous soon enough
 
Posts: 113
Karma: 500
Join Date: Aug 2011
Device: kindle, boox
Quote:
Originally Posted by JSWolf View Post
When ADE was made for the Sony Reader PRS-505, they had to make it work/fit the existing hardware. So it was decided to make each HTML file no bigger then a specific size (I don't know what that size is offhand). that means that ePub works with limited hardware.
300 Kb Images and Html files.
elchamaco is offline   Reply With Quote
Old 10-10-2019, 04:49 PM   #7
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 14,651
Karma: 12617198
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Sigil and calibre epub editors have merge and split features. If I get book split on arbitrary boundaries (usually around 240kb) I merge it into one and split on chapter boundaries. Some ereaders, e.g calibre's 4.1 ebook-reader and the one I use on my phone (can't remember its name - it was abandoned soon after I got it), have features to skip to start/end/next/previous sections (chapters).

BR
BetterRed is offline   Reply With Quote
Old 10-10-2019, 04:55 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 53,467
Karma: 49277837
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by BetterRed View Post
Sigil and calibre epub editors have merge and split features. If I get book split on arbitrary boundaries (usually around 240kb) I merge it into one and split on chapter boundaries. Some ereaders, e.g calibre's 4.1 ebook-reader and the one I use on my phone (can't remember its name - it was abandoned soon after I got it), have features to skip to start/end/next/previous sections (chapters).

BR
Discworld books do not have chapters. But I find whoever is making the eBooks is rather lazy. What I do is edit the ePub to make the HTML split at a section break. That's a lot more sensible then breaking as some arbitrary place.
JSWolf is offline   Reply With Quote
Old 10-10-2019, 05:29 PM   #9
exaltedwombat
Guru
exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.exaltedwombat ought to be getting tired of karma fortunes by now.
 
Posts: 748
Karma: 1771618
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by JSWolf View Post
Discworld books do not have chapters. But I find whoever is making the eBooks is rather lazy. What I do is edit the ePub to make the HTML split at a section break. That's a lot more sensible then breaking as some arbitrary place.
I just opened up a couple of Pratchetts. You're right, no chapters. But paragraphs styled as 'spacebreak' followed by a no-indent line - that in some books is even styled 'chapterOpenerText'! So he knew where the breaks SHOULD have come...
exaltedwombat is offline   Reply With Quote
Old 10-10-2019, 07:44 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,748
Karma: 27620664
Join Date: Aug 2009
Location: The Central Coast of California
Device: K4NT, Galaxy Tab A, Kobo Aura2
Even IF...
Performance improves if you use smaller chunks.

Chapters are just a Logical place to break.
Note: some viewers will reopen at the (top of) last file viewed. If that is a huge, single file... Yep! the top
Sigil and Calibre searches can work across these files so there is no need to work on a Single file. Both, also allow you to reorder files by dragging to the new position. No cut and paste if you are just moving a 'chapter'
theducks is offline   Reply With Quote
Old 10-13-2019, 04:31 AM   #11
Sarmat89
Groupie
Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.Sarmat89 ought to be getting tired of karma fortunes by now.
 
Posts: 188
Karma: 2100000
Join Date: Nov 2015
Device: none
Also, it is a guaranteed way to force a page break.
Sarmat89 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
endnotes in epub with Sigil, multiple html BMaloney Sigil 9 10-10-2019 04:34 PM
Multiple html files to one epub book Raphi'Elohim Conversion 2 07-09-2019 08:57 AM
Converting multiple HTML files into one EPUB file bigdukesix ePub 3 03-08-2011 12:12 PM
Multiple html to epub conversion. Barthelemy ePub 4 03-30-2010 06:18 AM


All times are GMT -4. The time now is 12:41 AM.


MobileRead.com is a privately owned, operated and funded community.