View Single Post
Old 04-26-2011, 06:58 PM   #6
affa
Connoisseur
affa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheeseaffa can extract oil from cheese
 
Posts: 56
Karma: 1234
Join Date: Apr 2011
Device: kindle
Quote:
Originally Posted by SteveC100 View Post
That is certainly related to the problem, thanks.

But following the procedure there, doesn't solve it. If I do this:
After inserting the image, press ENTER to create a paragraph break between the image and the text. With the cursor on the right-hand side of the image use the Insert -> Chapter Break command from the menu bar (or press CTRL-ENTER)."
Then save, then try to open the book with Adobe Digital Editions, it won't open.

This is with Sigil 4. With version 3, all is well. But I need 4 because it preserves the TOC.

Steve
Actually, yep, that solution doesn't solve it either. I've played around with it and found no way to add the image then split w/o it breaking -- so you need to fix it. To do that, after you split the file, you need to go to code view and cut the 'stolen' header line out of the cover file, and put it in the second file (old first page) in the same place.

this is mine, yours will be some variant:
<h2 id="heading_id_2" title="Title Page"></h2>
(note that this is set up to put "Title Page" in the TOC w/o it showing up on the page itself.)

My long term solution skips the tutorial technique altogether. After converting from Indesign to epub, i now just run a bunch of regex search/replaces that mark up all chapter heads with sigil breaks -- the indesign doc is prepped so that even the title page has a 'chapter head'. Because the first page has a chapter head, and then gets a chapter split marker, when i do the split i end up with a 'blank' file at the beginning. I add the cover to that and avoid this problem altogether.

Last edited by affa; 04-26-2011 at 07:03 PM.
affa is offline   Reply With Quote