View Single Post
Old 04-29-2021, 07:44 AM   #2
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 846
Karma: 3341026
Join Date: Jan 2017
Location: Poland
Device: Various
Perhaps the simplest replacement for EPUBgrify would be a Sigil plugin that would only do two things:
1. replacement.
Find:
Code:
<span class="com-rorohiko-pagestaker-style">(\d+)</span>
Replace to:
Code:
<span epub:type="pagebreak" id="page\1" title="\1" />
2.creating a text file with the content (like EPUBgrify):
Code:
<li><a href="FILENAME.XHTML#\1">\1</a></li>
…
…
or and put that data right into the nav file.

In fact, the only problem is to put this file name in the text file, because there is no variable/placeholder in the "naked" Sigil that would allow you to insert the current file name in the "Replace" field. I do not complain about this lack, but this example only shows that such a need sometimes exists
BeckyEbook is offline   Reply With Quote