autonumber paragraphs lose text in EPUB
Hi. Apologies for the long post. I have a document that uses autonumbered chapters and figures (Chapter 5; Figure 2.3). When exported to EPUB, the autonumbered words "chapter" and "figure <chapter number>" are lost. They are part of the style definition, as shown below. This seems to be a major bug in ID 17.0.1 / windows 10, and it may have existed in previous versions. Is there a fix or a work-around? I would prefer not to hand-cobble chapter and figure numbers, as I expect several revisions in this book over the next year.
-j
Background:
I created a test file that has autonumbered chapter styles and autonumbered figures:

I created three styles: a paragraph, a chapter, and a figure. Chapter and figure have the following style numbering definitions: Note that in chapter the word "Chapter" is part of the style definition, and in figure, the word "figure" and the chapter number are part of the style definition.


I created the following export tag defintions for this test:

This is the EPUB that is created by ID. Note that while the chapter styles are auto-numbered correctly, the text "Chapter" is missing. Also in the figures both the word "Figure" and the chapter number (figure 1.1) is missing.

Here is the XHTML created by ID for the EPUB. The styles do not include any explicit overrides, yet they seem to be present in the XHTML calling the CSS.

The style sheet is very much longer, but I include it here for completeness:

Have I done something wrong here, or is this a bug in ID's export of EPUB? I have a 574pp book with all sorts of numbering to turn into a Kindle version for a client, and this autonumber problem is driving me wild. Any suggestions? I'm afraid I don't know how to file a formal bug report. Thanks to the community for any help.
