![]() |
#1 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
I end up with Sections, not Chapters.
I imported an Epub that was all one big file, essentially just text with no additional styling of chapters, etc. added.
I followed the directions for how to make a picture the chapter heading in the TOC. That worked. I then followed the directions for how to split one file into more than one. That worked as well. Problems: 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. The TOC is there in SIGIL, but not in iWork...thoughts? I loaded another epub that I had already styled with chapters and it doesn't display those with sections in sigil in displays them as chapters. How do I make this work? 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? |
![]() |
![]() |
![]() |
#2 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
ps. When pic is actually overflowing onto the next page as well. That doesn't make sense to me.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
One more everyone. Only the pics that I labeled as those with chapter heading in the TOC are showing up in the exported Epub. They are all there is code/book view in Sigil, but fail to show up with I actually export as Epub. Any ideas or fixes?
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
You really, really need to give more examples of the code.
That being said, there is no difference in section or chapters. Sigil has no understanding of the concepts. It is just a name of the files. If you split your book into more files/chapters/sections (pick your favorite word), you need to regenerate the TOC (IIRC the third button from the right). Otherwise the links are wrong. Even iBooks should pick that up... There can be various reasons why a file is so big. Under Tools there is an option called reports. There you can find out where the size is coming from. Also check the misc folder in the bookbrowser (left side). Possible causes (there are more): - added font files that are not subsetted or perhaps even used - images larger than you think - non-used images - an object/file in the misc folder that is not used. I have read about overflowing of pictures to the next page in iBooks before. You can search on the forum about that. It has something to do with the coding I believe and it is I believe an iBooks quirk. Have you imported the images into Sigil or just referenced to it? You need to add the images into the ePUB. |
![]() |
![]() |
![]() |
#5 |
Zealot
![]() Posts: 142
Karma: 10
Join Date: Jun 2014
Device: nook
|
Have you imported the images into Sigil or just referenced to it? You need to add the images into the ePUB.
How do I tell the difference? I have 100 pics in the images folder of Sigil. I then get to the place that I want to insert the pic and I click add file, then double click my picture and it shows up in both code and in the book mode. Are you saying I have only referenced rather than added? Here is an example of code that works with the picture being a chapter heading <h1 style="text-align: center;" title="Little Rag Doll"><img alt="Misericordia Readers Primer_Page_016" src="../Images/Misericordia%20Readers%20Primer_Page_016.jpeg" /></h1> Here is an example of code that is not working for me. <p class="s1 s3">She called Baby Boy.</p><img alt="Misericordia Readers Primer_Page_017" src="../Images/Misericordia%20Readers%20Primer_Page_017.jpeg" /> |
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 859
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
Quote:
Sigil provides an option on the Tools menu to Delete Unused Media Files. You can do the same for Unused Stylesheet Classes. This should help reduce the size of your epub Quote:
|
||
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Items like images must be enclosed between paragraph, div, header or blockquote tags (there are more options, but not important now).
If you execute 'Check books' it would also have told you this. |
![]() |
![]() |
![]() |
#8 | |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#9 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Ah, perhaps you had only 10 images. Right: that ought to have added 1MB.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The 20 Unhappiest People You Meet In The Comments Sections Of Year-End Lists | BenG | Lounge | 0 | 12-16-2011 09:20 AM |
Help with sections | pabloaldama | Recipes | 6 | 08-04-2011 03:29 AM |
azw to mobi: Not detecting chapters/page break at chapters and no TOC | RachDvn | Calibre | 3 | 01-16-2011 09:53 AM |
Using other markup for marking chapters and sections | yet | Calibre | 1 | 02-12-2010 11:33 AM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 10:50 AM |