Quote:
Originally Posted by lomkiri
It's because the content of all your breaking paragraphs is always "*".
You need to create some numeration with a search using a regex-function, put it in an hidden text, as this, for exemple:
<p class="PAGE-BREAK">*<span style="display:none"> Chapter 2</span></p>
[...]
<p class="CN" id="toc_2">*<span style="display:none"> Cn 6</span></p>
or better, put your "display:none" in a class in the CSS and
<p class="PAGE-BREAK">*<span class="toc_text"> Chapter 2</span></p>
[...]
<p class="CN" id="toc_2">*<span class="toc_text"> Cn 6</span></p>
The regex-function can use the parameter "number" to numerate your entries
__________
Edit: oops, I haven't seen Theducks' answer...
|
Thank you again, lomkiri, for your assistance but the above is completely over my head. (As you might have read in my reply above to @theducks)