Quote:
Originally Posted by XRaySpeX
Thanks, but I didn't follow much of that. I a newbie in this. That code might be ugly but it's what's in the file. It's a given.
The Calibre editor works only on EPUB & AWZ3 files only. Are you suggesting I 1st convert my AWZ file to those & then search & replace the heading lines from 1 code to another?
Is there no way to convert my file directly & combine the 2 heading lines into 1 in a ToC or even to have them as a 2 level ToC?
|
Have you tried opening the AZW file with the editor? (I have none, so I don't know if it works)
AFAIK there is no way to convert-combine.
The only things obvious I saw that makes that code a chapter title is the word Chapter and a font-size tag
So, I would convert to AZW3 and then work on it.
BTW here is a snippet of code I use to search for Roman numeral chapter numbers ( stand alone. you will need to add pieces to match your specific code)
Code:
<p class="\w">([CLXVI]{1,7})</p>