View Single Post
Old 11-01-2014, 10:54 AM   #8
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by rosshalde View Post
1) It is calling it sections and when iBook opens the file, there is no table of contents as it doesn't care about sections, it wants chapters.
2) My file seems huge. I added 10 images. They are each only 100KB, but my exported Epub is 7MB. Why? When I opened a Sigil fresh and just loaded all 100 pics, the exported epub was just under 7MB....how is that possible?
I routinely have 30 or 40 sections, since I put every image in its own section, sometimes with a caption, sometimes not. The TOC is built from headings, not from sections. I use H2 for chapter heads, though I assume H1 would also work. Use the TOC "tool" to generate your virtual TOC for advanced e-readers. You can also generate an actual, html TOC with that tool.

100 images at 100KB is 10 MB according to my calculations, but then I didn't major in math. (100 x 100KB = 10,000KB = 10MB, or have I lost my mind?

This is my image style:

div.image {
text-align:center;
margin-bottom: 0.25em;
}

For almost all images, I include width="100%" in the html pointer to the image, like this:

<div class="image" id="visitors"><img alt="something about the image" src="../Images/visitors600.jpg" width="100%"/></div>

Though that image was 600 pixels wide, I now go to 800 pixels if I can.
Notjohn is offline   Reply With Quote