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 05-09-2013, 10:59 PM   #16
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Using calibre-debug --tweak-book it should be a simple two line script to automatically remove nav.hxtml from the epub.
kovidgoyal is offline   Reply With Quote
Old 05-10-2013, 08:53 AM   #17
EliW
Junior Member
EliW began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2013
Device: iPad, iPhone, Kindle (Any), Desktop, etc
Thanks ... Is there more documentation or how-to for the --tweak-book than exists on the one options page? Since the plan is to completely automate this, I'm wondering if there's a way to pass a script into tweak-book and have it just extract, run the script, and auto-combine again.

As it stands from my experimentation, it appears that it's designed to run in a manual mode. You run tweak-book from one terminal, then in another edit the files on the fly, then flip back and answer y

Of course, is this actually doing anything more than running the equivalent of unzip, and then zip -r again? ... which is extremely scriptable.
EliW is offline   Reply With Quote
Advert
Old 05-10-2013, 11:08 AM   #18
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,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes, it's doing more than that. Use something like expect to automate interaction with --tweak-book.
kovidgoyal is offline   Reply With Quote
Reply

Tags
epub, mobi, table of contents, toc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibra convert to htmlz then back to mobi corrupts toc twoten Conversion 0 07-13-2012 04:07 AM
Have sigil not generate inline CSS Hellmark Sigil 3 01-27-2012 01:16 PM
Inline TOC from toc.ncx elmago79 Kindle Formats 38 03-25-2011 12:56 PM
Use Regex to Code an Inline TOC, from an External TOC's .ncx File mostlynovels ePub 2 03-16-2011 12:15 PM
Trying to make an Inline TOC crutledge Sigil 2 05-09-2010 05:46 AM


All times are GMT -4. The time now is 06:29 PM.


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