01-31-2011, 10:07 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: kobo
|
How to break up into sections ???
Hello,
I have a .pdf file that I converted to ePub with Calibre. I started reading it on my Kobo and then decided not to continue. It has no TOC or chapters so I will have to click about 250 times to get to the end of the book to "finish" it and get it off my reading list. I read in this forum that Sigil can "edit and break up the ePub files" so I will have chapters or a Table of Contents. I installed Sigil and although I manage quite nicely with software programs this one has me stumped. When I open the ePub book I get a list of .html's on the left. If I click on Insert/Chapters nothing seems to happen. Can someone help ? Thanks ! PS I read (or tried to read) the manual. Most of it meant nothing to me. |
01-31-2011, 11:34 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Sure, it is actually quite easy. The actual result does depends on the input. Garbage in garbage out...
Anyway, the first thing you can try is bring up the TOC editor (F7). If you are lucky, your headers are present there. Then you just save and you have a TOC. If you are not lucky, than you need to specify the headers in the html files yourself. |
Advert | |
|
02-02-2011, 05:05 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2011
Device: Sony Touch
|
The way I do this is to use the Insert>SFG Chapter Marker everywhere I want a chapter then use Tools>Split on SGF Chapter Markers.
Once that is done I find or add "Chapter XX" or what ever text you want at the beginning of each chapter then apply "Heading 2" to that text. Then Sigil will take those to make the TOC entries. |
02-02-2011, 05:23 PM | #4 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Start over, convert with calibre, BUT on conversion->structure detection, change the 'chapter mark' from pagebreak to none. On Epub-Output set split files to 4000
(Then the whole text will be in one file) Load converted epub in Sigil, searching (code-view) for '<h\d', then move up a few lines, and insert a Sigil Chapter Marker where you want the split, and repeat process for rest of file. Then when done, Tools->'Split on SGF Chapter Markers'. Job Done. |
02-03-2011, 05:00 PM | #5 |
Prospective publisher
Posts: 14
Karma: 10
Join Date: Jan 2011
Location: UK
Device: none
|
I have been tearing my hair out trying to build a meaningful TOC for this (my first) try at producing an e-book.
I can get a list of files that I have split it into by chapter, but I cannot make some sort of href or whatever to make it inter-active with the chapters by chapter title, can you help. Thanks, Les PS I also live in Kent (Ramsgate) |
Advert | |
|
02-03-2011, 05:02 PM | #6 |
Prospective publisher
Posts: 14
Karma: 10
Join Date: Jan 2011
Location: UK
Device: none
|
I have been tearing my hair out trying to build a meaningful TOC for this (my first) try at producing an e-book.
I can get a list of files that I have split it into by chapter, but I cannot make some sort of href or whatever to make it inter-active with the chapters by chapter title, can you help. Thanks, Les PS I also live in Kent (Ramsgate) See attachment in Go Back MobileRead Forums > E-Book Software > Sigil Reload this Page How to break up into sections ??? |
02-03-2011, 06:30 PM | #7 |
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
|
Did you look in tools/TOC editor? Also fill in Tools/Meta editor.
A TOC is really simple if you have h2, h3, etc. statements in your chapter titles. |
02-03-2011, 06:35 PM | #8 | |
Bookmaker & Cat Slave
Posts: 11,495
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
02-03-2011, 07:25 PM | #9 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
For linking the Contents entries you have already...
Open the epub in sigil, switch to CodeView Open ABRAHAM.html (should be opened already) For each of the 'links' surround the text with a link tag, (<a>) and use a href pointing to the file you want to link it to. e.g. <a href="Section0001.xhtml">Foreword</a> Repeat for all the entries you want linked to. Use Tools-TOC editor, to see results. For the built-in table of contents.... In each of the Section####.xhtml files, wherever you want a linked heading, Surround the text with heading tags (<h#> , where #= heading type 1-6) e.g. In Section0001.xhtml, surround 'Foreword' with a <h> tag - say you wanted a level 2 heading <h2>Foreword</h2> Repeat in other files as needed |
02-11-2011, 10:51 PM | #10 |
Connoisseur
Posts: 52
Karma: 126
Join Date: Jan 2011
Device: PRS-650
|
Perkin, I don't even know you, but I LOVE YOU!!!!
I have been at the seemingly impossible task of introducing basic TOC metadata into an ePub for well over a week now. I've pulled out lots of hair, but no TOC. Then the magic words: "switch to code view." It might be that I'm a bit slow, but it never dawned on me that the h-tags need to be typed in code view. This is also partly because you can type "normal" text in either view and it doesn't matter. I had <h2> and </h2> characters everywhere but in the right place! Anyway, thanks a million Perkin for taking the time to write it out so clearly for people like me! |
02-12-2011, 01:55 AM | #11 |
Guru
Posts: 657
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
You're welcome, glad I could help.
|
02-12-2011, 10:03 PM | #12 |
Connoisseur
Posts: 52
Karma: 126
Join Date: Jan 2011
Device: PRS-650
|
You sure did. My enthusiastic thank-you was a clear sign of how hard I was working at finding a solution! Now these long documents no longer pose any serious challenges. On the contrary, they cry out with possibility. It makes me a bit giddy, thinking about how I could be my own publisher, controlling every aspect of the e-book!
Sigil's really great, actually. It's not only powerful but almost educational: you learn about how the files and programs are structured by using it. And when you are so nice explaining how it works, it's even great for karma! |
02-16-2011, 09:22 PM | #13 |
Member
Posts: 12
Karma: 10
Join Date: Aug 2010
Device: Entourage Edge
|
I might be helpful to think a little outside the box. Which I just learned to appreciate:
A tutorial to rename the .epub to .zip and extract all content html and jpeg from a epub, with the possibility to split, rearrange, edit the ebook content. http://www.howtogeek.com/howto/19268...e-html-editor/ |
02-17-2011, 05:57 AM | #14 | |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
Luckily, Sigil can open those "epub files" created by simply zipping up a folder, and saving them again stores the mimetype correctly. |
|
02-18-2011, 06:01 PM | #15 |
Connoisseur
Posts: 52
Karma: 126
Join Date: Jan 2011
Device: PRS-650
|
I trust the karma!
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Forum Sections | gvtexas | Announcements | 1 | 06-09-2003 10:05 AM |