View Single Post
Old 11-01-2010, 10:55 PM   #16
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by webfolk View Post
The EPUB file required a bit more tweaking, some aesthetic formatting issues: ... reduced the indentation of each paragraph ... The style I had assigned to these in Word didn't carry over. I'm speculating this is because the style name I had used started with the numeral "1".
I agree the smaller text-indent looks better. I'm not totally sure but I think you may be right about problems with named styles beginning with a digit rather than alpha. Best to just avoid using them in future.

Quote:
Originally Posted by webfolk View Post
I think I've resolved the table of contents by going into the T of C editor in Sigil ...
Hmm...The TOC is no longer nested into 3 levels. Chap 1 is still nested but Chaps 2-23 aren't. Is this really what you wanted?

Also, I suspect when you removed duplicates in Sigil you may have removed the wrong ones. For instance, if you select Chap 5 you now go to the line 'Chapter 5: The Cave of Trees' instead of the image at the top of the page. i.e. the TOC is no longer pointing at the "invisible" <h2> chapter heading at the top of the page but at the "visible" styling <h2> lower down instead. Of course, if you like it better the way it is feel free to ignore my comments

Quote:
Originally Posted by webfolk View Post
I did this in Sigil and "Saved as" with an alternate file name (preserving the original file unchanged as backup). The new file, however, has a blank page inserted before the book cover. I've noticed this before when I saved from Sigil. How do I get rid of this and, for that matter, how do I prevent it from happening?
I'm afraid I can't help with Sigil as I've never used it. Word/Calibre/Notepad++ text editor is my toolkit. For no reason other than my own gut-feel I'm not comfortable with moving back and forth between Calibre and Sigil because I'd heard they do things differently especially in the TOC area.

It should be easy enough to remove it manually. You need to edit the file called content.opf inside the epub (Tweak-epub in Calibre will let you do it). The bare minimum you need is to go to the spine section and remove the line marked in red below:
Code:
<spine toc="ncx">
        <itemref idref="filelist.xml"/>
        <itemref idref="titlepage.xhtml"/>

The file called filelist.xml was contained in your original HTML zip file and I suspect is one of those MS excess baggage files you get when you don't save Word as webpage-filtered. It probably would have been safe to remove it before importing to Calibre for the initial epub conversion. Calibre knows about the file but seems to sensibly exclude it from the epub spine. It would appear that Sigil doesn't ignore it. You could ask for help in the Sigil forum.
jackie_w is offline   Reply With Quote