View Single Post
Old 01-17-2024, 01:06 AM   #1
John IV
Member
John IV began at the beginning.
 
Posts: 24
Karma: 10
Join Date: May 2022
Device: Kindle Scribe
[Q] Table of Contents Creation from Single digits & no Headings?x

Hello, I could have sworn there was a thread somewhere on this forum for TOC generation using different XPath examples for somewhat oddly formatted Chapter indicators, but I can't find it again.

I'm just trying to create a TOC from the html files that simply has the chapters as '1' and '2' and so forth through '23' on their own lines. E.g:

<p class="calibre_2">1</p>
<p class="calibre_2">2</p>
etc.
<p class="calibre_2">23</p>

How would one accomplish this? Presumably w/ the generate ToC from XPath wizard? Thank you!
John IV is offline   Reply With Quote