Hi everoby!
Can I use the "flow" instruction somewhere else than in headers or footers?
More precisely, I introduce in the beginning of each chapter a table of contents and I'd like to place automatically a title (for exemple "Chapter's contents").
How can I manage it? (The title's label must be placed in the xhtml file, as this file has to be translated in several languages, and the translators have no access to the css file.)
I tried the following code:
but unsuccesfully.
Thank you in advance for your help
Can I use the "flow" instruction somewhere else than in headers or footers?
More precisely, I introduce in the beginning of each chapter a table of contents and I'd like to place automatically a title (for exemple "Chapter's contents").
How can I manage it? (The title's label must be placed in the xhtml file, as this file has to be translated in several languages, and the translators have no access to the css file.)
I tried the following code:
<p id="Title_chapter_contents">Chapter's contents</p>
p#Title_chapter_contents {
prince-flow: static(title-chapter-contents);
}
div.Chapter_contents p:first-child::before {
content: prince-flow(title-chapter-contents);
}
but unsuccesfully.
Thank you in advance for your help