11-01-2010, 04:43 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2010
Device: nook
|
wondering how to create chapters....
I have a nook, and am in the process of creating some documents as pdf to be converted to epub.
I want to give these documents 'chapters', so that I can search faster on the nook. Is there a tutorial somewhere? Or can someone tell me a bit of how to do this with calibre? |
11-01-2010, 05:17 PM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Don't create PDF files if you're subsequently going to want to convert to some other format; PDF files convert very badly to other formats. Save your files in a format such as HTML which can easily be converted. If you save a separate HTML file per chapter, you'll automatically have chapter breaks in the resulting ePub file.
|
Advert | |
|
11-01-2010, 08:07 PM | #3 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Or, rather than breaking into individual files yourself, just insure that each chapter has a header such as
Code:
<h2>Chapter One</h2> Then tell calibre to look for the h2 tag and break chapters based on that. |
11-01-2010, 08:55 PM | #4 | |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
Quote:
I think that calibre will create TOC entries based on <h2> tags, but will not create an individual xhtml file for each chapter. I know for sure that ADE on my prs505 favours bigger number of smaller files inside epub. A chapter per xhtml file is about right. |
|
11-01-2010, 09:47 PM | #5 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
If you are converting, say, one single html file to epub, and in that html file all your chapters have an <h1>Chapter so-and-so</h1> header you can put the html file into calibre and click on "convert books." In the pop up menu, select the "structure detection" tab and use the wizard for "detect chapters at" to indicate what the chapter tags are (<h1> in the above example). For "chapter mark" select "pagebreak" in the drop-down box. Then on the "EPUB output" page, be sure "Do not split on page breaks" is NOT checked. That should cause calibre to break up the book by chapter, when you perform the conversion. |
|
Advert | |
|
11-02-2010, 08:19 AM | #6 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2010
Device: nook
|
Thanks. I am going to give this a try.
|
11-02-2010, 08:23 AM | #7 |
Wizard
Posts: 3,025
Karma: 11196738
Join Date: Oct 2010
Location: Piper College
Device: Samsung A21
|
Personally I think this is a function of the word processor that you are using to acomplish the task. Open Office has a function to acomplish that at the click of an icon. I think its the only office suite that provides for this.
|
11-02-2010, 06:05 PM | #8 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2010
Device: nook
|
I tried it. It didn't work. So, I am trying to figure out what I did wrong or what I need to do differently.
|
11-02-2010, 08:44 PM | #9 | |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
Quote:
|
|
11-02-2010, 09:44 PM | #10 | |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
Quote:
What did you start with? What settings did you use (in calibre)? What was the result? I.e. what happened that you did not want/expect? Any error messages? Or other wierdness that seemed strange to you? etc. If I understand what you were trying to do, I think it should work almost with default calibre settings. At least, it has for me. I have converted pdf -> html via pdftohtml + pdfreflow, then html -> epub via calibre. The last step has worked a treat for me so far. The first two steps, not so much. Which is why HarryT recommended that you NOT start with a pdf. YMMV |
|
11-02-2010, 10:53 PM | #11 |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
|
11-02-2010, 11:33 PM | #12 |
Guru
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
|
What I meant by "almost" was that one MAY have to modify the settings to identify chapter headers. Otherwise, the defaults will stand.
Glad you were able to make it work for you. It is a powerful piece of software, especially for those who are willing to put forth some effort to discover how it might work for them. Just sayin' |
11-03-2010, 05:25 AM | #13 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Of course you can also load your epub in Sigil (or HTML) and place chapter marks there. Works like a charm and you can easily if the result is what you want.
|
11-03-2010, 03:04 PM | #14 | |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2010
Device: nook
|
Quote:
Stange, when I put in the <h1>chapter-so-and-so</h1> my document did not accept it as a "code" but just letters part of the chapter so my. What did I do wrong? |
|
11-03-2010, 05:49 PM | #15 | |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
Quote:
There was a time when calibre would not by default split chapters into separate (x)html files. The Baen's Honorverse ePubs are that way, and they were converted using (one of the previous versions of) Calibre. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unutterably Silly Just Wondering...... | recluse | Lounge | 10 | 07-13-2010 12:55 PM |
Just Wondering... | recluse | Lounge | 11 | 03-01-2010 01:34 AM |
ePub Chapters vs. Stanza Chapters | kjk | Sigil | 4 | 09-14-2009 10:50 AM |
just wondering | kelly1010 | Sony Reader | 30 | 04-01-2009 11:39 PM |
create chapters at regular intervals? | WarumIch | Calibre | 11 | 03-23-2009 04:52 PM |