06-09-2013, 05:24 PM | #1 |
Wizard
Posts: 2,145
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
|
editing the autogenerated ToC
I use Scrivener to generate my epubs, and then edit the output in Sigil. Where there is a ToC, there is also an auto-generated ToC in the right-hand pane in Sigil. Is there any way to edit that? Scrivener puts in some odd header artifacts (like a ToC entry for the copyright statement) that I'd like to edit out.
Thanks! |
06-09-2013, 05:39 PM | #2 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
Advert | |
|
06-09-2013, 05:51 PM | #3 |
Wizard
Posts: 2,145
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
|
ah, thank you.
I have problems getting calibre-generated mobis through validation. Scrivener makes for pretty clean code, though. |
06-09-2013, 06:10 PM | #4 |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Depending on how much unwanted stuff is in the original TOC, I sometimes find it easier to let Sigil create a new TOC and then create a new html TOC from that. I make a copy of the original TOC first in case things don't turn out for the better (but they usually do).
|
06-09-2013, 06:19 PM | #5 |
Wizard
Posts: 2,145
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
|
There's not a lot that needs to be changed, but how do you get Sigil to create a new ToC? (I'm really a duffer at this - I took one class in HTML about 2 years ago, so I can sort of read it, but only if it's not too confusing.)
|
Advert | |
|
06-09-2013, 06:55 PM | #6 | |
Wizard
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Sigil auto-generates all of the headings using the <h1>, <h2>, ... <h#> tags. Here is the Sigil manual on Table of Contents: http://web.sigil.googlecode.com/git/..._contents.html Side Note: Wow, I never noticed the "Edit Table of Contents" button. I love it when you find new things in programs you have been using. That will be INCREDIBLY helpful for me in the future. |
|
06-09-2013, 07:14 PM | #7 | |
350 Hoarder
Posts: 3,574
Karma: 8281267
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350, Kobo Glo & Glo HD, PW2
|
Quote:
Then from the same place in the menu bar, select Tools > Table of Contents > Create HTML Table of Contents and it will add the new page in the left pane, title will be TOC.html. You can also still perform any edits you might have missed after it's done. |
|
06-09-2013, 07:17 PM | #8 |
Wizard
Posts: 2,145
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
|
You are all great fonts of wisdom!
ETA: I thing it helps if I install the latest version. (duh.) Last edited by BeccaPrice; 06-09-2013 at 07:30 PM. |
06-10-2013, 11:06 AM | #9 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
06-10-2013, 11:18 AM | #10 | |
Well trained by Cats
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Toolbars can be hidden or moved (all versions). We tend to give instructions for the current versions since that is what we have in front of us. And we all assume that the user is right up there with us |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing toc | exaltedwombat | Sigil | 4 | 10-14-2012 01:57 PM |
Editing mobi file for toc | mharring | Kindle Formats | 9 | 09-16-2012 10:21 AM |
editing toc of a mobi | thomass | Kindle Formats | 1 | 04-20-2011 08:44 AM |
EPUB autogenerated TOC | Nate the great | Calibre | 13 | 04-10-2009 03:35 PM |
Bood Designer - horizontal bars & TOC editing | DoctorBri | Sony Reader | 5 | 09-17-2007 10:33 AM |