Quote:
Originally Posted by democrite
Maybe I’m missing something but not sure how that’d work. E.g. H3+ after the first H2 numbered sec1.1 1.2 1.2.1 1.2.1 1.3 etc. then next set after second H2 sec 2.1 2.1.1 etc.
|
You're right, you couldn't do this with the Incremental IDs plugin. You'll have to modify the plugin yourself to add that functionality.
Quote:
Originally Posted by phillipgessert
I would try first pulling the title text out of the <a> tags via regex, leaving you with static text following an unlabeled link, then add the counter via a::before.
|
Unfortunately, many e-readers and epub apps don't support CSS counters.

I've created a proof-of-concept epub3 book with CSS counters based on a
StackOverflow post that you could use for testing.
(CSS counters work in KF8 and KFX books, however, according to the Amazon Kindle Publishing Guidelines, you can't use them in Kindle books.)