![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 8444
Join Date: Jun 2014
Device: Kindle
|
Manually entering table of contents
The heuristic processing feature is super cool, but still has issues recognizing chapters on a totally unformatted PDF where the chapters are not demarcated as "Chapter 1", "Chapter 2," etc. This is totally understandable, since the book does not contain the normal <h1>, <h2> tags that heuristic processing bases its search on. I'm trying to make a workaround because I already know the chapter titles. Is there a way to manually enter a table of contents (i.e., chapter title strings) into the xpath search field and have the heuristic processing search via specific strings? Thanks!
|
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,169
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You may need to add it to your toolbar menu. Preferences: Toolbars: (pick you choices) Place the icon from the list on the Left |
|
![]() |
![]() |
![]() |
#3 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 8444
Join Date: Jun 2014
Device: Kindle
|
Quote:
Adding the 'Edit the TOC' button to your toolbar is definitely the right thing to do. The thing is, in order to edit the TOC the book has to be in the EPUB format. So, the first step is to convert your book to EPUB. Once that is done, you can manually enter a table of contents with the 'Edit the TOC' button. This will open a menu that allows you to add and remove TOC entries manually. To delete entries, select the one to be deleted and click the little green recycling arrow button. To add entries, select "Create new entry" or "New Entry Above/Below/Inside this entry" depending on if you initially started with zero or nonzero entries. When creating a new entry, you can link to indices that Calibre found during heuristic processing (so cool). Once you've entered a table to your satisfaction, convert the book from EPUB to your desired format (in my case, MOBI). If the conversion doesn't seem to work, double check that you've converted from your EPUB because the original format (in my case, PDF), does not contain the new manually entered TOC, only the EPUB does! So glad I found a workaround, and thanks again for your help theducks ![]() Last edited by itfh; 06-15-2014 at 12:11 AM. |
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,169
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3
Karma: 8444
Join Date: Jun 2014
Device: Kindle
|
Hm, I'm having a slightly different problem with the TOC now. The EPUB TOC looks perfect (expected, because that was manually entered) while the MOBI TOC has one link of about 80 (it's a long book) that refuses to point to the correct location--it points to some random location a couple chapters earlier. I verified that the chapter link points to the right index in the EPUB body of the book, and I tried deleting that chapter link and re-adding it, but to no avail. I also checked to make sure that when converting to MOBI the max number of chapters exceeds the number that I currently have (set it to a ridiculously high number, like 100) Seen this happen before?
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table of Contents | weberr | Sigil | 3 | 05-20-2013 09:42 AM |
Table of Contents not being identified as Table of Contents | openletter | Conversion | 2 | 10-19-2012 12:54 AM |
Table of Contents Help | MyLittleTwi | Calibre | 0 | 02-27-2012 03:30 PM |
Table of Contents | peterinnes | Sigil | 1 | 09-29-2010 03:03 AM |
How to: table of contents | wizzofoz | Sigil | 1 | 10-08-2009 08:22 AM |