View Single Post
Old 01-06-2014, 01:42 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Strahan View Post
Hi. I have some large text files that I threw on my Kindle. I'd love to be able to edit the text file and insert some sort of code so the Kindle knows where chapter breaks are.

Is that possible? I was Googling and some page said to put "<mbpagebreak />" but that doesn't appear to have any effect.

Thanks!
Text files are displayed as-is. You can't use advanced formatting -- you will have to convert to azw3 first. Then insert page-breaks by editing the book with calibre's Edit Book feature (shortcut key is "T") and "Split File" (see screenshot) to create chapter breaks. In ebooks, a new file = pagebreak, and it is the recommended way to format a new chapter.

While you're at it, you may want to take the opportunity to tweak the files for all kinds of fun stuff! Use the code <h1>Chapter Name</h1> to set headings saying "Chapter Name", (and create ToCs based on them), bold stuff, add paragraph indents, and more! There are many guides out there to writing html code.
Attached Thumbnails
Click image for larger version

Name:	calibre-edit-book-split-file.png
Views:	287
Size:	158.1 KB
ID:	117636  

Last edited by eschwartz; 01-06-2014 at 01:50 AM. Reason: forgot to add screenshot. :)
eschwartz is offline   Reply With Quote