View Single Post
Old 11-25-2023, 09:55 AM   #1
junjunjey
Junior Member
junjunjey began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2023
Device: none
How do I specify the split point when converting TXT into EPUB?

I tried adding the <h1> tag on my chapter headers while still in txt format, filling the first two boxes in Structure Detection with the XPath //h:h1, and making sure the 'Do not split on page breaks' in EPUB output remain unchecked; but the converted output rarely recognize my tag (it did work like once every five conversions).
More often than not it read the <h1> tag as &lt;h1&rt;.

The only other thing I messed around was changing the input character encoding in the Look & Feel to utf-8 because otherwise the unicodes wouldn't be recognized and would only be replaced with �

My workaround so far is by editing via calibre-edit, merge the html files, and then split them with //h:h1 but sometimes I convert web-novels with over a thousand chapters and it gets my PC buggy while waiting for that workaround process to finish.
junjunjey is offline   Reply With Quote