View Single Post
Old 02-04-2020, 08:55 AM   #38
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,745
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by thymesnewroman View Post
What's the best way to fix ALL the notes in this 4-volume work?
If the 4 volumes are 4 separate epubs, you shoud be able to use my plugin.

For the plugin to work, all footnote links and definitions must have unique class attributes. In your case you'll also need to remove the existing broken footnote definition links.

You'll need to use a regular expression search to change:

Code:
<a class="S-T1" href="../Text/index_split_000.xhtml#anchor22"><span class="S-T6">14</span></a>
to
Code:
<a class="noteanchor">14</a>
You'll also need to remove broken backlinks from footnote definitions.

They should look like this:

Code:
<p class="note">14. Footnote definition</p>
Finally, you'll also need to right-click the endnotes file and select Add Semantics... > Notes/Footnotes.

If the number of footnote links matches the number of footnote definitions, the plugin should automatically link them.

Make sure to create a backup copy, before you implement these changes!
Doitsu is offline   Reply With Quote