thank you for you patience. it IS getting clearer gradually.
to sum up so far.
begin by converting source, in whatever format, to epub.
special case - if source is already EPUB but lacks header tags, then make a copy of it, rename that copy to .zip, add back to calibre as .zip, discard the bad epub, continue as per method for non-epub sources - below.
the purpose of structure detect ( amongst other things) is to identify and tag chapter starts. but it does not , by itself, create a TOC.
the xpath line defines how to identify what elements to place in a toc
if I cant customise the xpath successfully then I should use sigil - open - ( patch with regex if needed), save.
the auto-generate toc option , on TOC screen, is not relevant at this ( create a good epub) stage, & should not be needed thereafter when I convert the epub to mobi for its final destination on Kindle
yes - I'll go learn how to use the bug reports.
|