View Single Post
Old 02-12-2020, 04:10 AM   #23
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,758
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by exaltedwombat View Post
So the main problem is that in the footnote link "anchor9" should read "anchor116", "anchor10" should be "anchor117" etc. We need to locate each footnote reference and add 107 to the numeric part.

Sounds trivial. But, unfortunately, RegEx doesn't do arithmetic, at least not in any straightforward way.

An interesting challenge!
Try Function mode for Search & replace in the calibre Editor

BR
BetterRed is offline   Reply With Quote