The back-links for the chapters are probably being messed-up by Word (MS Word is probably the worst choice when it comes to editing html). Post an example of the actual html code used for the chapter headers and it should be possible to work out the right XPath expression you need for Calibre to recognise them without any other processing.
|