02-22-2011, 01:24 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: None
|
Table of Contents
Hello,
Need help on TOC. Have an EPub file in Sigil. The Manual is not really clear on how to start creating TOCs. I will convert EPub back to Mobi for publishing, but need to create toc's. Can anyone pls give me some pointers on how to tackle TOCs in Sigil. I have had crashes as well when I attempted TOC Editor. MAC user. Appreciate your input. Last edited by taraboom11; 02-28-2011 at 08:15 PM. Reason: Follow up on previous thread |
02-22-2011, 01:41 PM | #2 |
Guru
Posts: 970
Karma: 4999999
Join Date: Mar 2009
Location: Rosario, Argentina
Device: SONY PRS-505, PRS-T2
|
Sigil makes the TOC using headers (<hn> tags, n=1 to 6).
Then, in the TOC editor, you can exclude the entries you don't want to appear. In some older versions, when the first header in the book was excluded from the TOC, an exception rose and the program was closed. That should be corrected in the current version. The TOC created thus will not show in the body of the book, you'll have to access it with the appropriate tool on your reader. If you want an "inline" TOC, you'll have to manually code it. Hope this helps. |
Advert | |
|
02-22-2011, 04:13 PM | #3 | |
eBook pro
Posts: 71
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
|
1. Use the heading (<h1>, <h2>,...etc.) tags for your chapter headings. In Sigil you just highlight the text you want as your chapter heading and select the required heading from the dropdown box.
2. Go to Tools/TOC editor and you will see your headings as TOC entries. Deselect any entries you don't want showing in the TOC. * The TOC compiler is hierarchical, so an <h2> won't show if there's not an <h1> before it, for example. The TOC listing can be different to the heading if you use a title attribute in the <h> tag. Quote from Sigil FAQ:- Quote:
|
|
02-23-2011, 01:45 PM | #4 | |
Member
Posts: 23
Karma: 30
Join Date: Apr 2010
Location: Bay, AR
Device: iPad, Pandigital Novel, Kindle DX
|
Quote:
Also, if you have books that have words as the chapter name instead of just "Chapter 1," you can go in and add a blank space at the top of the chapters as well like so in Code Edit Mode: Code:
<div style="display:none"> <h3> Chapter 1</h3> </div> <div style="display:none"> <h3>Chapter 2 </h3> </div> And so forth... Also, on the code above, I don't know how mobi will handle it, so I will not guarantee that it will still be hidden when you convert the ePub to another format. It might show up in mobi, it might stay the way it was formatted to be, I don't know. Hope all of this helps a little bit. CHEERS P.S. Reason why I use <h3> is cause the other 2 before it are to big for my liking. I like my words to be a little bigger than the words in the chapter themselves, unless I'm adding a graphic under the chapter title, Then I make them however big they need to be to match the size of the graphic. Last edited by Firepong; 02-23-2011 at 01:49 PM. |
|
02-23-2011, 02:39 PM | #5 | |
Well trained by Cats
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
h1.smaller {font-size: 75% } you can override <h1 class="smaller"> The Default size </h1> |
|
Advert | |
|
02-23-2011, 03:47 PM | #6 |
Member
Posts: 23
Karma: 30
Join Date: Apr 2010
Location: Bay, AR
Device: iPad, Pandigital Novel, Kindle DX
|
|
02-25-2011, 10:33 PM | #7 | |
Guru
Posts: 973
Karma: 2458402
Join Date: Aug 2010
Location: St. Louis
Device: Kindle Keyboard, Nook HD+
|
Quote:
And sometimes each book will be broken up into volumes (The Lord of the Rings does this, it's six volumes in 3 books). So I use h2 for that. |
|
02-28-2011, 08:24 PM | #8 |
Junior Member
Posts: 8
Karma: 10
Join Date: Feb 2011
Device: None
|
Thanks to all who replied with their input.
Sorry, but I must be missing something on creating TOCs in Sigil. I brought epub file into Sigil, worked on the Text file to add tags. Book contains Acknowledgment <h1>, Preface<h1>, Introduction <h1>, then goes on to Chapters 1 -10 <h2>. Saved epub file but when checked using ebook view in Calibre TOCs were not there. I also tried converting epub back to mobi to see if the TOCs showed, nothing. From the way everyone explained it, sounded not that complicated, but it is just not happening for me. The output I would like to have is to show a TOC linked to each chapter so reader can jump on to the corresponding page/s. Is this a different method from what I was tryin to do? Appreciate your expertise. |
02-28-2011, 08:34 PM | #9 | |
Well trained by Cats
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
If you did not use The "Open With" plug-in or work directly on the file inside the Library (in Calibre: O key= open folder), you need to replace the current version with your 'super-deluxe edited version. : Open the meta-data editor on the title. drag and drop the new version into the Formats area. |
|
03-01-2011, 10:27 AM | #10 |
Member
Posts: 23
Karma: 30
Join Date: Apr 2010
Location: Bay, AR
Device: iPad, Pandigital Novel, Kindle DX
|
Like theducks said, you will have to copy your newly editted ePub to Calibre. Usually, what I do is delete the old book completely from Calibre then copy over the new and improved version. When you copy it over, if you havent changed anything else, it should still have all the other modifications that you made to the book (Author, Title, date, etc.).
P.S. I also want to say if you opened the book directly from Calibre through the open folder option, it should also save it in that exact folder, so you shouldn't have to copy the new version over. Just make sure you don't convert the old version back to ePub or you will loose all your work. Take that from a person thats done it to many times to count and lost many hours worth of editting |
03-01-2011, 11:08 AM | #11 |
Wizard
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
calibre has several configurable open with plugins, so on my main calibre toolbar I just click open epub in editor( after highlighting a book ) & it launches sigil. Then, after the edit I click on calibre view button & it opens that epub in calibre viewer so that i can see if changes have worked as expected. I use that a lot when changing header tags / toc.
see calibre board for install details. I synch the entire calibre library to an external hard drive once a day so if I do mess up big time there is a backup to fall back to. |
03-01-2011, 08:23 PM | #12 | |
Bookmaker & Cat Slave
Posts: 11,482
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
HTH Hitch |
|
03-26-2011, 03:04 PM | #13 |
Member
Posts: 10
Karma: 10
Join Date: Dec 2009
Device: none
|
Hi, I was wondering if you could help me with a follow-up question. I can get Sigil to create a TOC but it puts the chapters in the wrong order. It'll start with Chapter 1, then skip to 4-8, and then finally give me chapters 2 and 3. I put each chapter into the book in order. I copied chapter one in and then clicked "chapter break" and so on through to the end of the book. Why is it changing the order? How can I fix this?
Thanks! |
03-26-2011, 03:42 PM | #14 | |
Well trained by Cats
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Drag it to it's proper order. (Browser order IS book Order ) Save |
|
04-27-2011, 03:47 PM | #15 | |
Addict
Posts: 246
Karma: 4476
Join Date: May 2009
Location: US - Maryland
Device: Sony 300/505/T1 Nook STWG Kobo Glo Kobo Aura HD KDX iPad1 K3 KT PW2
|
Quote:
Thanks. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table of Contents | ucoa | Calibre | 1 | 01-07-2011 09:01 PM |
Table of Contents | peterinnes | Sigil | 1 | 09-29-2010 03:03 AM |
Help with my Table of Contents | Skylinefranc | Calibre | 0 | 03-19-2010 12:55 AM |
only the table of contents | wang960 | Sony Reader | 3 | 08-29-2008 12:45 PM |
Creator Table of Contents | Nate the great | Kindle Formats | 5 | 07-10-2008 05:55 AM |