Thank you all for taking the time and sharing your knowledge. Each one of you has contributed to my growing understanding and knowledge and bringing this closer to a successful resolution. I've been studying your comments and, given my newness to all involved here, it's taking me some time to assimilate and act on your suggestions. As I implement them I'll post the results here.
First:
Quote:
Originally Posted by ldolse
For either format you could get the table of contents to include the foreword and preface by changing the chapter detection xpath in the Calibre Structure detection options under conversion:
This is the default:
Code:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part\s+', 'i')) or @class = 'chapter']
Try changing it to this:
Code:
//*[((name()='h1' or name()='h2') and re:test(., 'chapter|foreword|preface|book|section|part\s+', 'i')) or @class = 'chapter']
|
This worked superbly. It turns out epilog (which was also missing), was included in the default code I have, but spelled "epilogue", as it is in the mother tongue. Once the proper adjustments were made, all were included in the table of contents.
More to come as it does to me. Thanks again, all!