Question
Add a text generated from the title of a chapter or section in the TOC
I have some titles that, through a condition, add a "NEW" image to indicate that this section is new.
When I do the TOC the image added in the condition with a generated text of type suffix does not appear.
How can I make it appear.
Example of how it appears in the document.

Example of how it appears in the TOC

Example of how I want it to appear

I use Docbook and Styler.
Thank you,

