Quote:
Originally Posted by lealla
Hi erschwartz, thank you for your reply
Yes, I would like to split the file wherever there is the word chapter within the text itself (not within the coding).
I tried //*[re:test(., "chapter", "i")] but I got an error saying
"Cannot split on the
tag"
With the weird space between 'the' and 'tag'.
I don't know if this helps, but here is how the actual text is set up at the moment:
*EDIT - I just got rid of all the <span>+<div> tags, but this hasn't made any difference.
looks like this at the moment:
Here is the beginning of my html:
I'd like it to split the html at any point before chapter headings. It's not a great epub - converted from a PDF. I can't use any of the classes in the builder wizard (calibre2) ect, as they appear all over the place, and not just in chapter headings.
Would it be worth uninstalling and reinstalling calibre?
Thank you again for your help 
|
FWIW Uninstalling Calibre will not clear (bad) Settings.
You can simply delete the entire (hidden) Calibre Configuration folder while calibre is NOT running. Preference: Miscellaneous: <the Button> to open that folder. It will re-create the defaults.
BTW Are you discussing CONVERSIONS, not (hand) editing using the Editor?