![]() |
#1 |
Chief Inspector Gamache
![]() Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
|
Chapters in books
Many of us have written about the need for bookmarks and being able to move around in a book.
I was reading the Calibre! Quick Start Guide yesterday and the way it is setup with Chapters is great to move throughout the book as are all the other epubs downloaded. The only bookmark you need is the one where you close the book. So, does anyone have sufficient knowledge or can point me into the direction of how to insert Chapters in an epub. Thanks |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 12
Karma: 36
Join Date: May 2010
Device: Kobo
|
I needed to insert chapters in my friends writing that I'm currently reading and gave to me in doc format.
I played around with a program called Sigil for inserting chapters in epubs and epub manipulation in general. In the end I found that calibre does a decent job detecting chapters based on using header style "thing" within word in the document. I simply went through the docs and made the chapter names "heading 1" within Word, saved to RTF, converted via calibre and presto. Thats all I got, its not much, maybe a decent point in a semi-decent direction. |
![]() |
![]() |
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,302
Karma: 2607151
Join Date: Nov 2009
Location: Toronto
Device: Kobo Aura HD, Kindle Paperwhite, Asus ZenPad 3, Kobo Glo
|
Properly formatted commercial books should not need this step. Properly made user-generated books, ditto -- probably more on mobileread are good to go.
Calibre is not an editing platform; it's for conversions. So, yes, it's helpful when you are creating your own books in Word -- but this isn't a step anyone should have to do (and that's a source thing, not a Kobo thing). Are you asking for multiple bookmarks in the same book? I am having no trouble with one bookmark per book (simultaneous bookmarks on the device but one per book). |
![]() |
![]() |
![]() |
#4 | |
Chief Inspector Gamache
![]() Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
|
Quote:
I'm going to check them out later. @Poet Yes I realise that but, until such time that I can properly read pdf on the Kobo I have to format my converted files MYSELF. |
|
![]() |
![]() |
![]() |
#5 |
Enthusiast
![]() Posts: 35
Karma: 64
Join Date: Apr 2010
Device: none
|
I did this to a few conversions the other day. Here's what I did to produce nice, clean books.
1. Use "Calibre" to convert the file to an EPUB. While you're at it, edit the metainfo and insert a cover page. 2. Open the resulting EPUB in "7-Zip". Extract the HTML file(s). 3. If there's more than one HTML file, copy/paste them into a single large file (only the BODY contents of course). 4. Run "HTML Splitter" on the file, splitting on "H1" tags. You now have one HTML file per chapter. 5. Run "Sigil", load the EPUB. Delete the existing HTML files and import your newly created ones in other. Click the "Tools" menu and choose the TOC editor. It'll pick up the H1's and create a nice table of contents. This sounds like a lot of work but it's fast after the first time you've done it. You do not need to produce separate HTML files per chapter, but I prefer to. It keeps chapters loading quickly. Of course, this will not work if you do not have "H1" tags indicating your chapters. You can put these in manually if the conversion does not do it for you. |
![]() |
![]() |
![]() |
#6 |
Chief Inspector Gamache
![]() Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
|
Thanks SomeCanuck
|
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 35
Karma: 64
Join Date: Apr 2010
Device: none
|
To make it really simple, all it takes is running the EPUB through Sigil (step 5) to insert a proper table of contents, assuming that H1 elements exist (they usually do).
|
![]() |
![]() |
![]() |
#8 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 464
Karma: 1006520
Join Date: Mar 2010
Location: Alberta, Canada
Device: Kindle PW3
|
So you are saying steps 1 - 4 are not needed (if there is a H1 tag)? Just open the epub in Sigil, select tools --> TOC Editor and resave??
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 35
Karma: 64
Join Date: Apr 2010
Device: none
|
Yep, that's correct.
Adding metainfo helps for if your reader supports viewing books by title or author (like the Kobo) or other tags. Splitting it into a file per chapter keeps the loading times short. If the entire book is one file, you'll notice it's slow. |
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,149
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@somecanuck:
You can do that all in one go in calibre by simply setting the chapters XPath to //h:h1 |
![]() |
![]() |
![]() |
#11 |
Zealot
![]() Posts: 138
Karma: 76
Join Date: May 2010
Location: Toronto
Device: KOBO and iPad
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Not able to GoTo chapters in some books | ppearce | Amazon Kindle | 7 | 10-08-2010 12:23 PM |
how to make chapters? | rysiu | Calibre | 9 | 05-31-2010 10:28 AM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 10:50 AM |
Too many chapters with 0.6 | pepak | Calibre | 4 | 08-01-2009 11:58 AM |
How to convert Gutenberg Books with linked chapters? | SteffenH | Sony Reader | 3 | 05-21-2007 06:44 PM |