Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2011, 06:03 AM   #1
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
Markdown to ePub : Optimize internal filesizes

I have a 4MB plain text file which I have marked-down in preparation for calibre conversion to ePub. The markdown produces a 3 level TOC and doesn't require any structure detection, (so I set it to null in the calibre conversion options).

Conversion works perfectly and exploding the ePub shows a set of html files varying in size from 60K to 127K. As an experiment I switched on structure detection for H3 elements, (chapters), so that the output was now many, many more html files each of size 4K to 8K.

So my query is this: Is it better to have many small html files within the ePub or a fewer number of larger ones? Does it improve reader compatibility/presentation to break a book into separate html files per chapter or does it make no difference?

(Does calibre's conversion processing prefer one or the other?)

I'm only asking as I intend to post the book to the eBooks section of MR and want to make the book widely compatible. (I have had purchased books which caused my reader to hang).
Agama is offline   Reply With Quote
Old 01-22-2011, 09:36 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
More files vs less files doesn't really matter. EPUB readers (Adobe) requires each internal file to be under a certain size. calibre will split to ensure each files is under that amount if necessary.

The default is to split on chapter simply because it looks better when reading. Many readers will show empty space between files until the page is turned. Really having the extra split point comes down to how does it look on your reader.
user_none is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTF -> EPUB - Internal hypelinks are lost Starko Calibre 2 12-23-2010 03:27 PM
->Txt+Markdown Perkin Calibre 2 12-11-2010 04:04 AM
Capture intermediate html from markdown Agama Calibre 3 07-30-2010 11:33 AM
Markdown editor user_none Workshop 0 08-30-2009 09:25 PM
Internal links in ePub-files broken? Portnull Calibre 2 08-17-2009 11:00 AM


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


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