oed_prettifier icon indicating copy to clipboard operation
oed_prettifier copied to clipboard

bar} missing...

Open Commodore64user opened this issue 10 months ago • 4 comments

in entry ware sense 4.d there is some {thbar}. other _bar} are also referenced elsewhere

Image

Commodore64user avatar Jan 19 '26 16:01 Commodore64user

Is this not the letter thorn with a bar? https://en.wikipedia.org/wiki/Thorn_with_stroke Ꝥ for capital letter or ꝥ for small/lowercase.

cookiebit avatar Feb 07 '26 10:02 cookiebit

hello @cookiebit thank you, this particular ticket is less about what that specific {thbar} is and more about being remainder to find all [^ ]bar} instances and to handle each and every single one appropriately.

so to close this issue we have to build the full replacement map and substitute each one with the appropriate unicode (if it exists), should be something like this

https://github.com/Commodore64user/oed_prettifier/blob/07cdd7fb50854c362cb0a2d9c349663966dfa3fc/entry_processor.py#L371-L388

Commodore64user avatar Feb 07 '26 17:02 Commodore64user

I can't seem to remember what I've done, lol, turns out the map already exists

https://github.com/Commodore64user/oed_prettifier/blob/90581acff453967b7fbdd8d5b7b8975faadf67c0/entry_processor.py#L411-L422

Commodore64user avatar Feb 09 '26 21:02 Commodore64user

although I seem to have missed some matches as grep returns

{ibar}
{Lbar}
{obar}
{Obar}
{pbar}
{thbar}
{Thbar}
{ubar}

Commodore64user avatar Feb 09 '26 21:02 Commodore64user