View Single Post
Old 12-22-2011, 02:40 AM   #3
Agama
Guru
Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.Agama ought to be getting tired of karma fortunes by now.
 
Agama's Avatar
 
Posts: 776
Karma: 2751519
Join Date: Jul 2010
Location: UK
Device: PW2, Nexus7
With plain text documents I always use Markdown formatting prior to ePub conversion. This requires spending a little time preparing the text document but gives good control of the generated ePub.

You could start with simply using ## at the start of chapter title lines, (these become HTML H2 tags which calibre's default Detect Chapters Xpath will pick up), and leave a single blank line between paragraphs.

Calibre has Markdown support which works very well: at conversion time, on the Text Input page, set: Paragraph style to "off" and Formatting style to "markdown".

Full details of Markdown can be found at http://daringfireball.net/projects/markdown/
(You don't need to download Markdown, just understand the syntax.)
Agama is offline   Reply With Quote