Skip to content

Entity Footnotes patch v1.0.2

Choose a tag to compare

@Dukko Dukko released this 09 Aug 21:22
· 6 commits to main since this release

Fixes the patch not applying at all (no Entity Footnotes menu, no underlines). The previous versions tried to grab the plugin's class table via require(), but KOReader loads plugins with dofile() instead - they never end up in Lua's module cache, so that require() call was reaching a different, unused copy of the plugin.

Rewritten to use KOReader's own userpatch.registerPatchPluginFunc API, the documented mechanism for patching a plugin's class table from a user patch.

If you installed v1.0.0 or v1.0.1, replace koreader/patches/2-xray-entity-footnotes.lua with this version and restart KOReader.