Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 02-09-2018, 08:51 PM   #1
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
TOC failed, oddly!

Hi all,
I created a book in Open Office and successfully published in Smashwords. Then I tried another book, and every test in Smashwords was passed, including export to publishers like Barnes and Noble etc. Yet when I opened the book in ADE, well, the attached image show that the first 6 chapter titles in the TOC aren't right, to put it mildly! I've also attached the TOC as it appears in the doc, which looks fine. I'm baffled as to what's gone wrong in conversion to epub, anyone got any ideas?
Attached Thumbnails
Click image for larger version

Name:	TOC epub in ADE.JPG
Views:	130
Size:	18.9 KB
ID:	162162   Click image for larger version

Name:	TOC doc.JPG
Views:	132
Size:	41.9 KB
ID:	162163  
happyjon is offline   Reply With Quote
Old 02-10-2018, 01:33 AM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,931
Karma: 63374881
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by happyjon View Post
Hi all,
I created a book in Open Office and successfully published in Smashwords. Then I tried another book, and every test in Smashwords was passed, including export to publishers like Barnes and Noble etc. Yet when I opened the book in ADE, well, the attached image show that the first 6 chapter titles in the TOC aren't right, to put it mildly! I've also attached the TOC as it appears in the doc, which looks fine. I'm baffled as to what's gone wrong in conversion to epub, anyone got any ideas?
Well...how'd you make the ePUB? Did you make it using Calibre? Sigil? Some other program? Or are you asking us to troubleshoot a "meatgrinder" conversion, which is just Calibre's API?

The TOC you're unhappy with --is it the NCX, or is it a "typed" TOC, a toc.html?

Hitch
Hitch is offline   Reply With Quote
Old 02-10-2018, 06:04 PM   #3
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
Quote:
Originally Posted by Hitch View Post
Well...how'd you make the ePUB? Did you make it using Calibre? Sigil? Some other program? Or are you asking us to troubleshoot a "meatgrinder" conversion, which is just Calibre's API?

The TOC you're unhappy with --is it the NCX, or is it a "typed" TOC, a toc.html?

Hitch
Thanks for your reply Hitch. The epub was created in the 'meatgrinder', with a TOC created as SW demands. So yes, I'm asking if anyone has an idea as to what went wrong. SW doesn't have a forum, unfortunately.
happyjon is offline   Reply With Quote
Old 02-10-2018, 06:59 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,387
Karma: 47516399
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Don't use the meatgrinder for ePub. Use it for every other format. Hand craft your ePub. That's the best way to do it. Edit it with Calibre's editor or Sigil and do it by hand. Forget Word.

Also, don't center your internal ToC. That looks awful. But in ePub, you only need an NCX ToC and not an internal ToC.

The problem in your screenshot looks like auto-chapter detect because you used a heder code for the bits that are not supposed to be part of the ToC.
JSWolf is offline   Reply With Quote
Old 02-10-2018, 07:01 PM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,931
Karma: 63374881
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by happyjon View Post
Thanks for your reply Hitch.
Well, don't thank me yet. I haven't done anything.

Quote:
The epub was created in the 'meatgrinder', with a TOC created as SW demands.
Ah.

Quote:
So yes, I'm asking if anyone has an idea as to what went wrong. SW doesn't have a forum, unfortunately.
With good reason. If they did, Mark would have to provide customer support, and I don't see that happening anytime soon.

Anyway, we, collectively, can probably help you, but...okay, so, you used OO, and once the manuscript was finished, you utilized the bookmark method, to mark the TOC entries, is that right?

And allowed the meatgrinder to them create your TOC? Is that right thus far?

And presumably, from what I see, your Chapter titles were centered? (Is that right? The formatting of the heading class, in OO, is carried over to the Calibre API toc? Guys?)

Now, while you're cogitating on that, I would point out that somewhere 'round here, one of the gang has a plugin, specifically for OO, that makes ePUBs. You might consider doing that; it would give you a LOT (lotta lot) more control over what happens, and you can submit ePUBs at SW. Just an idea....

So, confirm the method (bookmarking) and the heading class/style, and I'll think about it. There are a crapload of people here that also use OO, and hopefully, one of them will pipe up and help, too, as we make our eBooks, at my company, in HTML, into ePUBs, mobis, and I don't use a grinder of any kind. :-) But I'll help if I am able.

Hitch
Hitch is offline   Reply With Quote
Old 02-10-2018, 07:14 PM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,387
Karma: 47516399
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Did you use styles for your eBook? You should use styles and only styles. Do not select text and apply anything to it other than a style. Also, do not apply a header code/style unless it's a ToC header.
JSWolf is offline   Reply With Quote
Old 02-11-2018, 08:02 PM   #7
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
Thanks Hitch and JSWolf for assisting. To show where I am on knowledge of e-books, I created one successfully, by following the SW Style guide. What I know I learnt from that, so I followed the instructions without much understanding. Still, my first e-book was fine.
You've both raised thought provoking points, I'll get back to you when I've looked into them, they may provide the answer.
I would add that everything in the book with the wonky TOC is otherwise fine, it passed all the SW tests. The TOC was created with bookmarks and then hyperlinks within the doc, so meatgrinder takes over then. All the TOC links work, just some don't look right. It's not a problem with ADE as the TOC looks wrong in Sumatra. (Sumatra is a pdf reader but it loads epubs too). The TOC looks perfect in the pdf format.
The TOC is centred, and the style for each link is 'first line indent'. I've a feeling that's wrong, but then why are some links short of some text, but not others? Anyway, I'll now have a think about your advice, and see what I can work out.
happyjon is offline   Reply With Quote
Old 02-12-2018, 12:23 AM   #8
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,931
Karma: 63374881
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by happyjon View Post
Thanks Hitch and JSWolf for assisting. To show where I am on knowledge of e-books, I created one successfully, by following the SW Style guide. What I know I learnt from that, so I followed the instructions without much understanding. Still, my first e-book was fine.
You've both raised thought provoking points, I'll get back to you when I've looked into them, they may provide the answer.
I would add that everything in the book with the wonky TOC is otherwise fine, it passed all the SW tests. The TOC was created with bookmarks and then hyperlinks within the doc, so meatgrinder takes over then. All the TOC links work, just some don't look right. It's not a problem with ADE as the TOC looks wrong in Sumatra. (Sumatra is a pdf reader but it loads epubs too). The TOC looks perfect in the pdf format.
The TOC is centred, and the style for each link is 'first line indent'. I've a feeling that's wrong, but then why are some links short of some text, but not others? Anyway, I'll now have a think about your advice, and see what I can work out.
And THAT is your problem, right there, unless I miss my guess. You should NOT have a style of "first line indent" for content that is CENTERED. Do you understand? Why that is a conflict? Centering is one type of alignment; first-line indent is a different, conflicting style.

Change the link style. Now, having said all that: I could be wrong. I'm doing this blind, but I've seen this sort of error--not this precise error--before, and it's very common for people to make alignment screwups, by using a first-line indent when they mean to center images, etc.

I hope this helps.

Hitch
Hitch is offline   Reply With Quote
Old 02-12-2018, 08:04 PM   #9
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
I see your point Hitch. centering and indent are contradictory. I've tried to modify the style, by highlighting the toc and using the modify option, but it's not taking effect. Do you think it would be best to delete the toc and start again?
happyjon is offline   Reply With Quote
Old 02-12-2018, 09:20 PM   #10
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
Quote:
Originally Posted by happyjon View Post
I see your point Hitch. centering and indent are contradictory. I've tried to modify the style, by highlighting the toc and using the modify option, but it's not taking effect. Do you think it would be best to delete the toc and start again?
I've worked out that you create the style first, then apply it. TOC, which still works, looks like attached image. Is this okay?
Attached Thumbnails
Click image for larger version

Name:	NEW TOC.JPG
Views:	106
Size:	43.6 KB
ID:	162242  
happyjon is offline   Reply With Quote
Old 02-13-2018, 12:03 AM   #11
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,931
Karma: 63374881
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by happyjon View Post
I've worked out that you create the style first, then apply it. TOC, which still works, looks like attached image. Is this okay?
I'm not 100%, because I'm doing this at arm's length, but, if it looks like your image, yes, that's GREAT.

What's important is that your chapter heads--the ones you've bookmarked--and the TOC style--NOT conflict. So, ideally, they would have similar properties--if one is centered, so would the other be.

BUT, I would try is, as you have it, and see how the TOC looks. If that doesn't work, then go back and make the TOC style and the Chapter Head style conformed and consistent. That should do it.

OK?

Hitch
Hitch is offline   Reply With Quote
Old 02-13-2018, 07:57 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,387
Karma: 47516399
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Given that this is going to be ePub, why not delete the ToC in the word processing document and use Sigil or Calibre's editor to build the ToC?
JSWolf is offline   Reply With Quote
Old 02-13-2018, 08:43 PM   #13
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
Uploaded new version to SW and it's got worse. TOC is still faulty, and each title now has an otherwise blank page all to itself. I'm going to scrap the TOC and start again, maybe try it with Calibre.
happyjon is offline   Reply With Quote
Old 02-13-2018, 08:56 PM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 6,931
Karma: 63374881
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, and NookColor. 2 Droid, 1 Win8 ePUB rdrs
Quote:
Originally Posted by happyjon View Post
Uploaded new version to SW and it's got worse. TOC is still faulty, and each title now has an otherwise blank page all to itself. I'm going to scrap the TOC and start again, maybe try it with Calibre.
Then there is something still amiss.

I agree that it might be best for you to load your file, WITHOUT ANY TOC, to Calibre, and let Calibre build it for you. If you want to learn a bit more, you could export your .odt file to HTML, import that to Sigil, and then create the TOC using Sigil. YOu'll have a lot more control over the final product, if you go the Sigil route, but yes: it's more to learn than using Calibre.

I'm sorry I wasn't more help, but going effectively directly from word-processing format to ebook, via the Grinder, is definitely NOT my bailiwick. It's got to be in the Styles, however--a conflict of some kind.

Good luck, seriously.

Hitch
Hitch is offline   Reply With Quote
Old 02-14-2018, 09:48 PM   #15
happyjon
Enthusiast
happyjon began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Aug 2013
Device: none
Success! I deleted the toc and the page it was on, then had one last go at doing it myself, if that hadn't worked then I'd have tried Calibre. But it worked! I made a new style for the toc. It's simple when you get the hang of things. Reminds me of when I first submitted my art to a website. Getting to know how to handle an image editor to make sure I met all the requirements of sites I was submitting to took me some time. Same with e-books. And thanks for taking the time to help me.
happyjon is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Look Inside behaving oddly Notjohn Kindle Formats 7 09-16-2016 06:27 AM
Failed feed: Tips_<urlopen error [Errno 11004] getaddrinfo failed> Danesh Recipes 4 03-19-2015 03:45 AM
Search working oddly technomom Calibre 3 07-23-2012 05:53 PM
Help? Oddly "bricked roofone Sony Reader Dev Corner 1 09-01-2008 10:31 PM


All times are GMT -4. The time now is 07:26 AM.


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