|05-17-2012, 08:47 AM||#1|
Join Date: Mar 2012
breaking apart the HTML files
Are there any guidelines concerning when and how you should break the HTML document up? I find it easier to edit as one document. The one I am working on now is only about 60 pages.
Are there some readers that don't like larger HTML files?
I don't see in the epub spec that it has to be broken apart.
Just wondering if it is worth the extra effort.
|05-17-2012, 09:08 AM||#2|
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon
Some readers have a limit of about 300 kB. Others would probably have some other limit, as memory is never infinite.
Anyway, splitting the document in chapters usually makes the final ebook faster, and more so if there are lots of hyperlinks (since it's faster to process a small file than a large one).
I normally edit the text as a single file, and then split it at the end, once most changes and styling have been done.
|05-17-2012, 10:02 AM||#3|
Join Date: Dec 2010
Device: Kindle 3
ADE will complain if any of the .html files in the ePub is 304 KB (=311296 bytes) or larger. But you'll only see the warning message if you choose Item Info... from the Reading menu.
BTW, you can have Sigil split large .html files for you. Simply insert <hr class="sigilChapterBreak" /> before the split points and then select Split at Chapter Markers from the Edit menu. (You'll have to re-generate the toc afterwards.)
|05-17-2012, 10:24 AM||#4|
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Kindle 3/WiFi Retired:Clie - UX50, T415, ...
There can be advantages to having a single file while you are editing. At the same time you may find breaking the book into multiple files also has some advantages while editing. In particular, if you are using Sigil as an ePub editor you will find that it can be a bit sluggish when rendering in the preview mode when the HTML file is very large. In Sigil, the Search&Replace function will work across multiple HTML files eliminating one of the main issues with editing multiple files.
On the other hand, if you are editing the HTML with other tools, you may well find that having a single file is advantageous. Just be sure that the final published version is split as necessary to avoid issues with ADE, the dominant reader engine.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Merging multiple HTML files into one HTML file||skoobwoman||Workshop||44||01-01-2012 01:43 PM|
|Access to local HTML files and content, HTML ebooks, annotation on HTML ebooks||leo315||enTourage Archive||2||05-10-2010 02:40 PM|
|Need help for read html files||attapol||Astak EZReader||2||12-14-2009 01:57 PM|
|Html files with images, is it possible?||megaman||Bookeen||4||10-27-2008 06:28 AM|
|HTML Files||PDS||Workshop||5||05-30-2008 06:41 PM|