How to convert txt file to a directory with chapters mobi file

txt file basically no layout at all. So if you want to convert txt file to mobi easy reading.

Specific steps are as follows:

Open txt

Open the txt file you want to convert a notepad ++. (Or use other supports regular expression editor).

For example, I open a "virtual exploration of ancient mausoleum papers."

And then found format the volume name is [first] xxx x volume, format Chapter name is [x xxxx].

Use regular expressions to add structured information for the title

Use the shortcut [Ctrl + F to open the Find notepad ++] replacement window.

First replacement volume name. Note To find the mode is set to the regular expression .

Then replace the chapter name.

Then newline into newline tag. Find here the extended mode using [] on it.

After replacing the save, and then the file extension from txt changed to HTML .

In the format conversion calibre

The tidied html files into calibre, click convert books. We can see our input format is the ZIP format.

Can set the cover in the good books of [metadata] there.

Focus is set [] the contents of the directory page, set as follows.

Because of this book I want to convert a total of 200+ chapters, so I set the maximum number of chapters to 300.

Once set up, you can click OK to get the desired conversion of the mobi format!

Results are as follows!

【reference】

[1] How to make mobi file calibre with section directory (for Kindle Paperwhite)? - Jacob Xu answer - almost known

Guess you like

Origin www.cnblogs.com/IvyWong/p/11812760.html