View Single Post
Old 02-07-2021, 03:45 PM   #1
413Michele
Enthusiast
413Michele began at the beginning.
 
Posts: 47
Karma: 10
Join Date: Jan 2021
Location: Italy
Device: Kobo Libra 2, Kindle Paperwhite (1st gen)
How to combine chapter titles and subtitles

Hello, I have a problem with chapter detection in the calibre editor.

I have a book in which each chapter is defined like this:
Code:
<h2>Chapter XX<h2>
<h3>Title of the Chapter<h3>
I can't for the life of me find a way to have both tags combined in a unique chapter element in the ToC. I tried some XPath functions and operators with no success, the best I can manage is to have them indented under the "chapter nn" element.

Do you have any idea how to do this?

Thank you
413Michele is offline   Reply With Quote