Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2010, 10:39 AM   #1
JCSullivan
Chief Inspector Gamache
JCSullivan began at the beginning.
 
JCSullivan's Avatar
 
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
JCSullivan is offline   Reply With Quote
Old 05-05-2010, 11:17 AM   #2
SeptemberWasp
Member
SeptemberWasp began at the beginning.
 
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.
SeptemberWasp is offline   Reply With Quote
Advert
Old 05-05-2010, 01:23 PM   #3
SensualPoet
Wizard
SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.SensualPoet ought to be getting tired of karma fortunes by now.
 
SensualPoet's Avatar
 
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).
SensualPoet is offline   Reply With Quote
Old 05-05-2010, 02:00 PM   #4
JCSullivan
Chief Inspector Gamache
JCSullivan began at the beginning.
 
JCSullivan's Avatar
 
Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
Quote:
Originally Posted by SeptemberWasp View Post
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.
Thanks. Sigil is one of the ebook 'creators' that the author of the Calibre! uses.
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.
JCSullivan is offline   Reply With Quote
Old 05-05-2010, 02:28 PM   #5
somecanuck
Enthusiast
somecanuck is on a distinguished road
 
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.
somecanuck is offline   Reply With Quote
Advert
Old 05-06-2010, 04:55 AM   #6
JCSullivan
Chief Inspector Gamache
JCSullivan began at the beginning.
 
JCSullivan's Avatar
 
Posts: 123
Karma: 12
Join Date: May 2010
Location: Canada eh!
Device: Viewsonic
Thanks SomeCanuck
JCSullivan is offline   Reply With Quote
Old 05-06-2010, 09:11 AM   #7
somecanuck
Enthusiast
somecanuck is on a distinguished road
 
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).
somecanuck is offline   Reply With Quote
Old 05-06-2010, 09:24 AM   #8
foghat
Evangelist
foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.foghat ought to be getting tired of karma fortunes by now.
 
Posts: 464
Karma: 1006520
Join Date: Mar 2010
Location: Alberta, Canada
Device: Kindle PW3
Quote:
Originally Posted by somecanuck View Post
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).
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??
foghat is offline   Reply With Quote
Old 05-06-2010, 01:40 PM   #9
somecanuck
Enthusiast
somecanuck is on a distinguished road
 
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.
somecanuck is offline   Reply With Quote
Old 05-06-2010, 02:07 PM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
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
kovidgoyal is online now   Reply With Quote
Old 05-06-2010, 02:50 PM   #11
techie42
Zealot
techie42 has learned how to buy an e-book online
 
Posts: 138
Karma: 76
Join Date: May 2010
Location: Toronto
Device: KOBO and iPad
Quote:
Originally Posted by kovidgoyal View Post
@somecanuck:

You can do that all in one go in calibre by simply setting the chapters XPath to //h:h1
Dude, you are my hero.
techie42 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:25 AM.


MobileRead.com is a privately owned, operated and funded community.