View Full Version : Manual page break as chapter


ardeegee
04-04-2011, 07:21 AM
I want do do something very simple-- the sort of clearly defined, repetitive task that is tedious to do by hand that computers were designed for. But I can't find a way to do it. The simple task: I want to make epubs from pre-existing DOC files where the epub has a chapter entry in the TOC after every manual page break, with the bold-fonted title/chapter line directly after the page break being used as the title of the chapter entry in the epub TOC. Should be a snap for software to do. But does any software do it? Best answer would be how to do it in Calibre, or MS Word, or the Atlantis word processor, which I'm trying out now.

theducks
04-04-2011, 10:10 AM
I want do do something very simple-- the sort of clearly defined, repetitive task that is tedious to do by hand that computers were designed for. But I can't find a way to do it. The simple task: I want to make epubs from pre-existing DOC files where the epub has a chapter entry in the TOC after every manual page break, with the bold-fonted title/chapter line directly after the page break being used as the title of the chapter entry in the epub TOC. Should be a snap for software to do. But does any software do it? Best answer would be how to do it in Calibre, or MS Word, or the Atlantis word processor, which I'm trying out now.

Calibre can't do the DOC conversion part.
(And this assumes there is some sort of identifiable Chapter markup (The word 'Chapter' usually works)

Save as filtered HTML. Now convert with Calibre.

(Another option is Writer2EPUB plugin for Open Office :thumbsup: . This deals with the DOC part and the EPUB part pretty well.)

ardeegee
04-04-2011, 01:11 PM
Calibre can't do the DOC conversion part.
(And this assumes there is some sort of identifiable Chapter markup (The word 'Chapter' usually works)

Save as filtered HTML. Now convert with Calibre.

(Another option is Writer2EPUB plugin for Open Office :thumbsup: . This deals with the DOC part and the EPUB part pretty well.)

The DOC part isn't an issue-- I can convert the DOC to RTF or HTML or even directly to EPUB. None of which allows Calibre to do what I want-- make TOC entries at every manual page break.

Toxaris
04-05-2011, 03:08 PM
If you have the html, load it in Sigil. Do a search/replace for the page-split point in the HTML code and replace it by a Sigil chapter marker (<hr class="sigilChapterBreak" />). Press F6 or the menu option 'split on SGF Chapter Markers' and you have a separate file for each chapter/document part. You can also easily change the titles to headers with the search/replace.

eping
04-08-2011, 11:35 PM
ePub Maker can split chapters on Word section break instead of page break,
also can extract chapter title automatically from first heading-styled line instead of bold text.