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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2011, 02:11 PM   #16
jpaulm
Member
jpaulm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: none
Hi @jackie_w. Thanks for the feedback, but I don't know what gave you the impression I was going epub to epub - I just always go from a zip file to epub! I have tried everything you and the others suggested, but I keep getting extra entries in my TOC, apparently generated by OOo cross-references to chapters. So it seems Calibre doesn't give me a way to get total control of my TOC generation... Assuming this is the case, do you know what its criteria are, or should I just keep trying things until the extra entries disappear?! TIA
jpaulm is offline   Reply With Quote
Old 02-22-2011, 02:27 PM   #17
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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@jpaulm: Your zip file contains a TOC with the extra entries. Remove it and you wont see them in the output either.
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 02-22-2011, 03:09 PM   #18
jpaulm
Member
jpaulm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: none
Hi Kovid, that's the weird thing - there is no sign of it. Unless winzip is somehow not displaying it... content.opf has the following:
<spine toc="ncx">
<itemref idref="html"/>
</spine>
but no sign of toc or ncx... There is a file toc.ncx in the epub zip, which I can modify, but I have to do that every time I change the source html file... Can you help?!
jpaulm is offline   Reply With Quote
Old 02-22-2011, 03:18 PM   #19
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: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
TOCs are specified in ncx files, or via guide element in the OPF, look for those in the zip file.
kovidgoyal is offline   Reply With Quote
Old 02-22-2011, 03:48 PM   #20
jpaulm
Member
jpaulm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: none
All I can see is the following in the OPF:

Quote:
<item href="toc.ncx" media-type="application/x-dtbncx+xml" id="ncx"/>
No sign of the referenced file - is it being built on the fly? I can send you the OPF file if you like...

Thanks.
jpaulm is offline   Reply With Quote
Old 03-17-2011, 03:46 PM   #21
jpaulm
Member
jpaulm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: none
Thanks, Kovid, this seems to have been fixed in the latest version of Calibre (0.7.49). No more having to prune the extra entries off the toc - great! Thanks again!
jpaulm is offline   Reply With Quote
Old 03-17-2011, 04:09 PM   #22
jpaulm
Member
jpaulm began at the beginning.
 
Posts: 17
Karma: 10
Join Date: Jan 2011
Device: none
Sorry everyone, I was wrong! I converted (my previous, modified) epub to epub by mistake!
jpaulm 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
[Old Thread] calibre not creating content.opf or toc.ncx files during conversion foxxywith2xs Calibre 7 12-16-2012 08:49 PM
Prevent calibre from using second monitor Barty Calibre 2 10-08-2010 03:06 PM
Prevent Calibre to paragraph each line armkbdotcom Calibre 3 05-29-2010 04:15 PM
Is it possible to prevent calibre from automatically sending news to my device? jedediah Calibre 2 10-26-2009 12:44 PM
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 02:25 PM


All times are GMT -4. The time now is 06:30 AM.


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