View Single Post
Old 03-31-2022, 04:21 PM   #7
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
Quote:
Originally Posted by lomkiri View Post
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)
Skydog is offline   Reply With Quote