View Single Post
Old 02-13-2020, 10:51 PM   #36
thymesnewroman
Enthusiast
thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.thymesnewroman ought to be getting tired of karma fortunes by now.
 
thymesnewroman's Avatar
 
Posts: 30
Karma: 2077248
Join Date: Feb 2020
Device: Forma
Quote:
Originally Posted by Tex2002ans View Post
Actually, I lied.

If you're using Calibre to read this book, one of its heuristics looks for "superscript numbers" linking to each other.

Use this Regex:

Search: (<a href="#f[tn]\d+" id="f[tn]\d+">)(\[\d+\])</a>
Replace: \1<sup>\2</sup></a>

this will change my [1] link into a superscript <sup>[1]</sup>.

Then Calibre's reader will enable the footnote popups.

I plan to do this Regex Search-and-replace and see if it will make my Forma do pop-ups.
thymesnewroman is offline   Reply With Quote