Thank you Kovid, the tabs are now working perfectly. I have had a bit more trouble with the TOC however. I managed to import an rtf version of the test document ok, but when i subsequently tried it with the full text it took 7 hours and didn't format the TOC at all. I have since tried saving the text as a filtered web page, and calibre imports that in a couple of minutes without any problems. The only issue I now have is that I cannot get to grips with the XPath expressions (the XPath website is not exactly user friendly!). The tag I'm trying to grab is as follows:
<p class=eBookChapter>*** <br clear=all style='page-break-before:always'>
Chapter II*************** </p>
I tried putting class=eBookChapter into the XPath expression, but to no avail. Do you have any suggestions to make this work?
|