Quantcast
Channel: MobileRead Forums - Conversion
Viewing all articles
Browse latest Browse all 3900

detecting chapters in plain txt

$
0
0
Hi,

I would like to convert a plain (ascii) text file to epub and generate a toc.

As this is a text file xpath does not make much sense (at least to me), but I can construct a regext that allows chapters to be detected.

How can I teach calibre to use this regex to detect chapters when converting plain text to epub?

many thanks!

Viewing all articles
Browse latest Browse all 3900

Trending Articles