10-29-2012, 06:49 PM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
A couple issues with my first epub
Edit thanks
Last edited by beatstockpromo; 03-24-2013 at 12:43 PM. |
10-29-2012, 06:53 PM | #2 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Advert | |
|
10-29-2012, 07:03 PM | #3 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
Oh maybe I was confused. I thought I had to convert it in Calibre afterwards.
|
10-29-2012, 07:09 PM | #4 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
edit done
Last edited by beatstockpromo; 03-24-2013 at 12:44 PM. |
10-29-2012, 09:42 PM | #5 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
Nobody knows how I can fix these issues?
|
Advert | |
|
10-29-2012, 09:45 PM | #6 |
Well trained by Cats
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
10-29-2012, 10:29 PM | #7 |
Bookmaker & Cat Slave
Posts: 11,461
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Well, firstly, even though the code is cluttered to death with sgc classes, which says a lot, I note that you're calling the toc entries using #whatever of the id's. It's far, far simpler to just use the filename of the relevant chapter, and if you haven't broken the file into separate chapters (files) yet, you really ought to. However, it seems as though your entries don't match, anyway--you have "c1" and "c2" with what don't appear to be matching entries? I see ch1 and ch2, but not c1 and c2?
Second, would you like to tell us what size your images are? And what the coding surrounding them says, and what the styling is set at? What you're saying can't be addressed without seeing your coding. You must have done something rather unusual to disable iBooks' pinch zoom feature--by the way, are you double-tapping the image first? iBooks does not work like "regular" images on an iPad--if you're sitting there trying to pinch-zoom on the "page" of the book, that dog don't hunt, as they say in the Deep South. You have to double-tap the image first, and then you can pinch-zoom in the ensuing interface, which is simply an image display. OK? Hitch |
10-29-2012, 11:00 PM | #8 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
edit done
Last edited by beatstockpromo; 03-24-2013 at 12:44 PM. Reason: wrap HUGE paste in spoiler |
10-30-2012, 12:17 AM | #9 |
Unicycle Daredevil
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
The links themselves seem correct (though I might be overlooking some errors - very early morning here.) But you said they work in Sigil, didn't you? So they should be all right.
What I DO notice is that your whole book seems to be one monster file called "index". You will have to split that into several smaller files. Also, have you looked into css stylesheets? There can't be much in yours if Sigil is forced to come up with dozens of sgc categories. From what I've seen so far, creating epubs from Word seems a bad idea anyway, very hard to pull off. Have you tried opening your book in Open Office, saving it as an odt file and then converting it to epub with Writer2epub? That will produce a much cleaner epub than what you have now. (Though you might have to fix the links of your inline TOC manually at the end.) |
10-30-2012, 12:58 AM | #10 |
Member
Posts: 15
Karma: 10
Join Date: Oct 2012
Device: none
|
I cleaned it up but I still don't no why it won' link correctly in ibooks eventhough it works in Sigil. I will spit the index.html but I want to figure this put first. I also am getting one validation error in epubcheck, even though Sigil says no problems found.
assertion failed: The "id" attribute does not have a unique value Spoiler:
Last edited by theducks; 10-30-2012 at 01:07 AM. Reason: wrap HUGE paste in spoiler |
10-30-2012, 01:15 AM | #11 |
Unicycle Daredevil
Posts: 13,923
Karma: 185041098
Join Date: Jan 2011
Location: Planet of the Pudding Brains
Device: Aura HD (R.I.P. After six years the USB socket died.) tolino shine 3
|
The file size of your index.html may be the reason your links don't work in ibooks. Worth a try.
The stuff about the id attribute should mean that you have different headings with the same id. Although Sigil's validation should find that too and also point you to the culprit. |
10-30-2012, 03:41 AM | #12 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
You can also cleanup the HTML export of Word. That is not too hard, if you handled the Word document right. The cleaner the Word document, the cleaner the native HTML export. |
|
10-30-2012, 08:26 AM | #13 |
Wanderer
Posts: 106
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
|
Toxaris is correct. If you make sure and assign styles to everything in the Word document, save it as a filtered web page. Then just delete everything listed between the style element in the head. This also assumes that you created a stylesheet that has all the styles you assigned in Word.
This will give you a good clean file. Bob |
10-30-2012, 04:45 PM | #14 | |
Bookmaker & Cat Slave
Posts: 11,461
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
What I find frustrating is that so many writers clearly have zero idea how Word really works. What we get here is a mish-mosh of ad hoc styles, enough to make your head explode. Hell, two weeks ago I got a file that was typed typewriter-style--type, type type, ENTER-ENTER, type type type ENTER-ENTER (it was to be double-spaced, you see). Yeah, that would come out like trash. The trick to a clean HTML file in Word is not to disdain working in Word for the relative ease of working in HTML. If you clean the styles first, using Word's built-in Styles management, the output can be as clean as a whistle, and we do it all day, every day. It's not undoable by any means, and, moreover, despite claims to the contrary, I have yet to see any output from any other word-processing program that is one iota cleaner. Neither OO nor LO output better html and WordPerfect certainly does not. Ditto Atlantis. I admit I don't think I've tried to view Jutoh's output in HTML, but I don't think of that as a word-processor. I don't know what so-called "writing software" outputs, really; LSB XE outputs RTF, but I've had issues with getting that RTF to work in other programs (Word, etc.), which doesn't bode well. I've been told that Scrivener's output is groovy, but not by anyone (yet) who would really know. I like Simon's YWriter RTF output, but again, that's to be expected given his background. So, really...I don't get all the complaining about Word's allegedly bad HTML output. No big deal. Use styles correctly, export the HTML and nuke the internal stylesheet that gets crammed in there, and bob's-yer-uncle. You can also do it with regex fairly easily, but it's FAR FAR easier to clean the styles in Word first. Just my $.02, FWIW. Hitch |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
i62 epub issues | doubleshuffle | Onyx Boox | 1 | 08-30-2012 08:08 AM |
A couple of issues regarding TOC and OPF | iroquois | ePub | 10 | 03-23-2012 04:42 PM |
a couple general epub questions | affa | ePub | 3 | 04-20-2011 01:45 AM |
ePUB and PDF issues | LED | Kobo Reader | 5 | 04-05-2011 10:26 AM |
Conversion of DOC to EPUB under Linux (Ubuntu 9.10), and a couple of other questions | booksonthemove | Calibre | 3 | 02-21-2010 01:26 PM |