Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2010, 09:11 AM   #1
alexkusuma
Junior Member
alexkusuma began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2010
Device: Kobo
Why the content of my converted ePub got scrambled?

Hi,

I've carefully and painstakingly compose the source in html format, and let say that I have the following files:
* toc
* title page (with book cover scan image)
* inside cover page
* greeting page
* the chapters (ch1 - ch33 + closing + thank you + author's bio)

The following is my content.opf:
<?xml version='1.0' encoding='utf-8'?>
<package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="uuid_id">
<opf:metadata xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlnspf="http://www.idpf.org/2007/opf" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:calibre="http://calibre.kovidgoyal.net/2009/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:identifier id="uuid_id" opf:scheme="uuid">f420408f-b81b-4443-8f29-21cb43fa16a6</dc:identifier>
<dc:creator opf:file-as="lastname, firstname" opf:role="aut">firstname lastname</dc:creator>
<dc:language>en</dc:language>
<dc:title>Book Title</dc:title>
<dcublisher>Publisher</dcublisher>
<dc:date>2004</dc:date>
<dc:subject>Business, Management</dc:subject>
</opf:metadata>
<manifest>
<item href="cover.jpg" id="added1" media-type="image/jpeg"/>
<item href="suwrom.css" id="added" media-type="text/css"/>
<item href="suwrom_ti.html" id="titlepage" media-type="application/xhtml+xml"/>
<item href="suwrom_cv.html" id="insidecover" media-type="application/xhtml+xml"/>
<item href="suwrom_gr.html" id="greet" media-type="application/xhtml+xml"/>
<item href="suwrom_ta.html" id="tcontent" media-type="application/xhtml+xml"/>
<item href="suwrom_ch.htm" id="chapters" media-type="application/xhtml+xml"/>
<item href="toc.ncx" media-type="application/x-dtbncx+xml" id="ncx"/>
</manifest>
<spine toc="ncx">
<itemref idref="titlepage"/>
<itemref idref="insidecover"/>
<itemref idref="greet"/>
<itemref idref="tcontent"/>
<itemref idref="chapters"/>
</spine>
<guide/>
</package>

However, the resulted ePub format have a "scrambled" structure. The TOC always have page 80 (total page is 85) as the first entry.

I've tried with other method such as add only the TOC file and let Eclipse to compose the rest (I've remove all of the meta files, just incase I've supplied wrong meta information) but it still the same.

I tried with several other books and some works nicely, and some are like the one I described above.

Any advice? What's my mistake?

Cheers,
Alex
alexkusuma is offline   Reply With Quote
Old 07-20-2010, 12:29 PM   #2
alexkusuma
Junior Member
alexkusuma began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2010
Device: Kobo
I'm not sure what's wrong with either Calibre or my document source, however, when I followed the ePub tutorial by JediSaber my ePub works perfectly as intended.

I'm still open for suggestions, though.

Cheers,
Alex
alexkusuma is offline   Reply With Quote
Advert
Old 07-20-2010, 12:38 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
http://calibre-ebook.com/user_manual...le-of-contents
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Converted epub on Calibre wrenn1 Kobo Reader 4 08-03-2010 12:36 PM
Converted epub comes out in punctuation mcrome04 Calibre 0 06-23-2010 07:44 PM
Converted EPUB Not Right labraid Calibre 0 01-11-2010 11:19 PM
Converted Epub Issues Demented Calibre 6 12-29-2009 07:18 PM
Problems with LRF from converted epub ficbot Calibre 4 12-16-2009 03:12 PM


All times are GMT -4. The time now is 11:24 PM.


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