Thanks, Kovid. About an hour after posting I went and looked at the changelog for calibre and noticed that the behavior had in fact changed in the last version in the month between my book editing sessions. I temporarily downgraded to 3.29 to generate the ToC I needed.
I submitted a ticket requesting the XPath ignore duplicates to be an optional feature.
|