My #LuaLaTeX package "lua-list-hyphen" [https://ctan.org/pkg/lua-list-hyphen] ha...
Alan J. Cain @ajcain@mathstodon.xyz
My #LuaLaTeX package "lua-list-hyphen" [https://ctan.org/pkg/lua-list-hyphen] has just been updated, and its name is now partly an artefact. :-)
It can now check each hyphenation in the document against a user-specified dictionary of valid divisions (or allowlist) and so list and/or visually flag either all of them or only those that do not match the dictionary. (And it handles multi-language documents.)
Attached is an example from the docs — a passage from Gibbon's ‘Decline and Fall’ set in narrow columns, with each hyphenation flagged as valid, invalid, ambiguous (in UK English ‘present’ hyphenates differently as a verb vs adj./noun), or unknown (the name ‘Vespasian’ isn't in the dictionary).