![]() |
#16 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
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.
|
![]() |
![]() |
![]() |
#17 |
Junior Member
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
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.
|
![]() |
![]() |
![]() |
Tags |
epub, mobi, table of contents, toc |
|
![]() |
||||
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 |