View Single Post
Old 03-04-2018, 08:14 PM   #10
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
Quote:
Originally Posted by Divingduck View Post
Attached you will find an example with a text file and some pictures with settings.
No, absolutely not! Neither image is what I was talking about and neither image will result in achieving what the original poster wants to do.


I'll try this again with an example:

In your .txt file, do the following (add ## above each section, which is usually above each chapter heading, above the title page, above the copyright page, above the dedication page, etc):


##

Chapter 1

This is the first line of chapter one.

##

Chapter 2

This is the first line of chapter two.

##

Chapter 3

This is the first line of chapter three.

##

About the Author

and so forth....

Save the .txt file.

Add the .txt file to Calibre. Or you can just drag the .txt file into Calibre from the folder where you saved it at.


In the Calibre conversion settings, choose "auto" on the top line and choose "markdown" on the second line, like I said in my first post in this thread. I'll repeat those instructions here:

Before converting the text file, change the following in the settings for Conversion -> Input Options -> TXT Input -> Structure:

Paragraph style - auto
Formatting style - markdown

After you have chosen the above settings in the Calibre conversion settings, run the conversion. The resulting .epub file should have separate .html files for each section that had ## at the top of each section.

Reread my original instructions for what to do after this is accomplished.
deback is offline   Reply With Quote